Fixed linux compile errors
This commit is contained in:
parent
edec02a89b
commit
693a4a7303
|
@ -1,7 +1,7 @@
|
|||
#ifndef LEVEL_INFO_H
|
||||
#define LEVEL_INFO_H
|
||||
|
||||
#include <PR\ultratypes.h>
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
const char* get_level_name(s16 courseNum, s16 levelNum, s16 areaIndex);
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ const char* translate_bind_to_name(int bind) {
|
|||
char* space = strchr(sname, ' ');
|
||||
if (space == NULL) { return sname; }
|
||||
|
||||
sprintf_s(name, 10, "%c%s", sname[0], (space + 1));
|
||||
snprintf(name, 10, "%c%s", sname[0], (space + 1));
|
||||
#endif
|
||||
return name;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue