Issue Information
-
#001688
-
1 - Low
-
Fixed
Issue Confirmations
-
Yes (0)No (0)
Originally posted by theultramage
http://www.eathena.w...er&showbug=1688
There is a small user interaction issue when adding new maps.
In all places, eathena silently trims the user input and says that it succeeded.
This can cause confusion since the map name limit is 11 chars, which is way too little in some cases.
Particular case: mapcache builder.
http://www.eathena.w...er&showbug=1688
There is a small user interaction issue when adding new maps.
In all places, eathena silently trims the user input and says that it succeeded.
This can cause confusion since the map name limit is 11 chars, which is way too little in some cases.
Particular case: mapcache builder.
CODE
strncpy(info.name, name, MAP_NAME_LENGTH);
Originally posted by mkbu95
Well this bug seems to be about warning the user, but also could be put in discussion the actual map name length.
Well this bug seems to be about warning the user, but also could be put in discussion the actual map name length.
Originally posted by MaminhA
May I suggest changing
May I suggest changing
name > MAP_NAME_LENGHTto
sizeof(name) > MAP_NAME_LENGHT?
Originally posted by mkbu95
Yeah I saw that.. oh boy
Yeah I saw that.. oh boy