summaryrefslogtreecommitdiff
path: root/src/txt-converter/char-converter.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-10 08:27:03 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-10 08:27:03 +0000
commitff07e78eefa511c7ae363a00bf9fbc761240552e (patch)
tree828514051e0a65cdea44369db7f06206bfb48122 /src/txt-converter/char-converter.c
parentdfd9bcd2b9a77ff69d10add1f3b82566b1c87abe (diff)
downloadhercules-ff07e78eefa511c7ae363a00bf9fbc761240552e.tar.gz
hercules-ff07e78eefa511c7ae363a00bf9fbc761240552e.tar.bz2
hercules-ff07e78eefa511c7ae363a00bf9fbc761240552e.tar.xz
hercules-ff07e78eefa511c7ae363a00bf9fbc761240552e.zip
Renamed 'struct storage' to 'struct storage_data' (to make 'storage' available as a variable name).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12932 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/txt-converter/char-converter.c')
-rw-r--r--src/txt-converter/char-converter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txt-converter/char-converter.c b/src/txt-converter/char-converter.c
index 44e48d224..a5943729a 100644
--- a/src/txt-converter/char-converter.c
+++ b/src/txt-converter/char-converter.c
@@ -107,7 +107,7 @@ int convert_init(void)
input = getchar();
if(input == 'y' || input == 'Y')
{
- struct storage storage_;
+ struct storage_data storage_;
ShowMessage("\n");
ShowStatus("Converting Storage Database...\n");
if( (fp = fopen(storage_txt,"r")) == NULL )
@@ -121,7 +121,7 @@ int convert_init(void)
lineno++;
set=sscanf(line,"%d,%d",&tmp_int[0],&tmp_int[1]);
if(set==2) {
- memset(&storage_, 0, sizeof(struct storage));
+ memset(&storage_, 0, sizeof(struct storage_data));
storage_.account_id=tmp_int[0];
if (storage_fromstr(line,&storage_) == 0) {
count++;