mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Bug-Fix: prefedit: Editing screenwidth was setting pagelength value (thanks drefs)
This commit is contained in:
parent
6ddc788b1b
commit
6121aed5b9
2 changed files with 6 additions and 2 deletions
|
@ -34,6 +34,10 @@ OLC copy and delete options.
|
|||
export (QQ's a zone into a tarball)
|
||||
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
||||
(lots of major bugfixes too)
|
||||
[Jun 06 2009] - Jamdog
|
||||
Bug-Fix: prefedit: Editing screenwidth was setting pagelength value (thanks drefs)
|
||||
[Jun 02 2009] - Jamdog
|
||||
Bug-Fix: furniture now will throw players to the floor when it is removed, and also count correctly. (Thanks MTFox)
|
||||
[Jun 01 2009] - Jamdog
|
||||
Bug-Fix: toggle command not fully fixed in last update (sorry) - It's fixed this time!
|
||||
[May 28 2009] - Jamdog
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
static void prefedit_setup(struct descriptor_data *d, struct char_data *vict);
|
||||
static void prefedit_save_to_char(struct descriptor_data *d);
|
||||
static void prefedit_disp_main_menu(struct descriptor_data *d);
|
||||
static void prefedit_disp_toggle_menu(struct descriptor_data *d);
|
||||
static void prefedit_disp_toggles_menu(struct descriptor_data *d);
|
||||
static void prefedit_disp_prompt_menu(struct descriptor_data *d);
|
||||
static void prefedit_disp_color_menu(struct descriptor_data *d);
|
||||
static void prefedit_disp_syslog_menu(struct descriptor_data *d);
|
||||
|
@ -488,7 +488,7 @@ void prefedit_parse(struct descriptor_data * d, char *arg)
|
|||
|
||||
case PREFEDIT_SCREENWIDTH:
|
||||
number = atoi(arg);
|
||||
OLC_PREFS(d)->page_length = MAX(40, MIN(number, 120));
|
||||
OLC_PREFS(d)->screen_width = MAX(40, MIN(number, 120));
|
||||
break;
|
||||
|
||||
case PREFEDIT_WIMPY:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue