summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 20:21:17 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 20:21:17 +0000
commite0a18f0853dd7a0cf0533ae0d10da9d19b116767 (patch)
tree2f0adc6661ce4597106033a18e33d8e774a76459 /src/char_sql
parentfaf6d705ec5b1f8a95a06d31635704adefcca99b (diff)
downloadhercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.tar.gz
hercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.tar.bz2
hercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.tar.xz
hercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.zip
* Recoded and renamed the trim function in strlib to normalize_name. (didn't behave like a standard trim function, see function comment for what it does)
* Added a proper trim function to strlib. * Other minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10199 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 62607e4e9..41ce64de7 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1256,7 +1256,7 @@ int make_new_char_sql(int fd, unsigned char *dat) {
strncpy(name, dat, NAME_LENGTH);
name[NAME_LENGTH-1] = '\0'; //Always terminate string.
- trim(name,TRIM_CHARS); //Trim character name. [Skotlex]
+ normalize_name(name,TRIM_CHARS); //Normalize character name. [Skotlex]
jstrescapecpy(t_name, name);
// disabled until fixed >.>