fix compile for unix
This commit is contained in:
parent
422ea12fcf
commit
368c4b9296
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ set(BNETD_SOURCES
|
|||
storage.cpp storage_file.cpp storage_file.h storage.h storage_sql2.cpp
|
||||
storage_sql2.h storage_sql.cpp storage_sql.h support.cpp support.h
|
||||
team.cpp team.h tick.cpp tick.h timer.cpp timer.h topic.cpp topic.h
|
||||
tournament.cpp tournament.h tracker.cpp tracker.h udptest_send.cpp
|
||||
tournament.cpp tournament.h icons.cpp icons.h tracker.cpp tracker.h udptest_send.cpp
|
||||
udptest_send.h versioncheck.cpp versioncheck.h watch.cpp watch.h
|
||||
anongame_wol.cpp anongame_wol.h handle_wserv.cpp handle_wserv.h
|
||||
../win32/winmain.cpp ../win32/winmain.h
|
||||
|
|
|
@ -304,7 +304,7 @@ namespace pvpgn
|
|||
t_icon_info * icon_info = (t_icon_info*)xmalloc(sizeof(t_icon_info));
|
||||
icon_info->rating = atoi(rating);
|
||||
icon_info->rank = xstrdup(rank);
|
||||
icon_info->icon_code = xstrdup(_strrev(icon)); // save reversed icon code
|
||||
icon_info->icon_code = xstrdup(strreverse(icon)); // save reversed icon code
|
||||
list_prepend_data(icon_set->icon_info, icon_info);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue