git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@383 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -1,5 +1,6 @@
Date Added
11/27
+ * Fixed some compile time errors associated with showmsg [MouseJstr]
* Added get_svn_revision() in core.c [MC Cameri]
-Only if you have the file .svn\entries, it will show the revision # at runtime.
@@ -3,7 +3,7 @@
#include <string.h>
#include "showmsg.h"
-char tmp_output[1024] = "\0";
+char tmp_output[1024] = {"\0"};
int _ShowMessage(const char *string, enum msg_type flag){ // by MC Cameri
/*
@@ -1,7 +1,7 @@
all: char-converter
sql: char-converter
-COMMON_OBJ = ../../common/core.o ../../common/socket.o ../../common/timer.o ../../common/db.o ../../common/malloc.o
+COMMON_OBJ = ../../common/core.o ../../common/socket.o ../../common/timer.o ../../common/db.o ../../common/malloc.o ../../common/showmsg.o
char-converter: char-converter.o strlib.o $(COMMON_OBJ)
$(CC) -o ../../../$@ $^ $(LIB_S)
all: login-converter
sql: login-converter
COMMON_H = ../../common/core.h ../../common/socket.h ../../common/timer.h ../../common/mmo.h ../../common/version.h ../../common/db.h ../../common/malloc.h
login-converter: login-converter.o ../../login_sql/md5calc.o ../../login_sql/strlib.o $(COMMON_OBJ)