Fixed linux compile errors
This commit is contained in:
parent
bb4ae0abf1
commit
9dba5b3917
|
@ -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