summaryrefslogtreecommitdiffstats
path: root/mbbsd/gamble.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-12 13:46:21 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-12 13:46:21 +0800
commit0118e623c97c9c61b34820a38feabeab34408e43 (patch)
tree912c7034e7bee684623efae33d6c4c415c059538 /mbbsd/gamble.c
parenta707b3cd704001f58dad2682f1e699f8dbab5bbc (diff)
downloadpttbbs-0118e623c97c9c61b34820a38feabeab34408e43.tar
pttbbs-0118e623c97c9c61b34820a38feabeab34408e43.tar.gz
pttbbs-0118e623c97c9c61b34820a38feabeab34408e43.tar.bz2
pttbbs-0118e623c97c9c61b34820a38feabeab34408e43.tar.lz
pttbbs-0118e623c97c9c61b34820a38feabeab34408e43.tar.xz
pttbbs-0118e623c97c9c61b34820a38feabeab34408e43.tar.zst
pttbbs-0118e623c97c9c61b34820a38feabeab34408e43.zip
- change show_file parameter to assign striping options in a better way.
- also prevents ESC* style escapes in user_play_query, for security reason. (Thanks to Kinra's report on PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/gamble.c')
-rw-r--r--mbbsd/gamble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index ec959c2d..2f3e2dd7 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -70,7 +70,7 @@ show_ticket_data(char betname[MAX_ITEM][MAX_ITEM_LEN],const char *direct, int *p
snprintf(genbuf, sizeof(genbuf), "%s/" FN_TICKET_END, direct);
end = 1;
}
- show_file(genbuf, 8, -1, NO_RELOAD);
+ show_file(genbuf, 8, -1, SHOWFILE_ALLOW_ALL);
move(15, 0);
outs(ANSI_COLOR(1;32) "¥Ø«e¤Uª`ª¬ªp:" ANSI_RESET "\n");