Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Bing, Yahoo!, Yandex

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
613
bastian
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » do_mstat bug
Forum Rules | Mark all | Recent Posts

do_mstat bug
< Newer Topic :: Older Topic > Cosmetic error

Pages:<< prev 1 next >>
Post is unread #1 May 25, 2005, 11:44 am
Go to the top of the page
Go to the bottom of the page

Txzeenath
Apprentice
GroupMembers
Posts86
JoinedJul 24, 2004

This is simply a cosmetic problem as is stated above.

act_wiz.c, function do_mstat:
      ch_printf( ch, "|Long  : &G%s&w\n\r",
                 ( victim->long_descr && victim->long_descr[0] != '\0' ) ? victim->long_descr : "(NONE)" );


should be:

      ch_printf( ch, "|Long  : &G%s&w",
                 ( victim->long_descr && victim->long_descr[0] != '\0' ) ? victim->long_descr : "(NONE)" );


The old way would result in a blank line being added after Long, and before Languages. This is caused by do_mset, which already adds a newline and return when the desc is set. Very minor... but figured i'd post it because I like perfection :evil:

----Don't change the below code, it is simply for reference ----
      stralloc_printf( &victim->long_descr, "%s\n\r", arg3 );
       
Pages:<< prev 1 next >>