Apply some more missing constants

This commit is contained in:
Clownacy 2020-01-04 21:48:52 +00:00
parent 5b4d343df4
commit 9bfaeb5390
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ void PutStageSelectObject(void)
int StageSelectLoop(int *p_event) int StageSelectLoop(int *p_event)
{ {
char old_script_path[260]; char old_script_path[MAX_PATH];
RECT rcView = {0, 0, WINDOW_WIDTH, WINDOW_HEIGHT}; RECT rcView = {0, 0, WINDOW_WIDTH, WINDOW_HEIGHT};

View file

@ -120,7 +120,7 @@ void EncryptionBinaryData2(unsigned char *pData, long size)
BOOL LoadTextScript2(const char *name) BOOL LoadTextScript2(const char *name)
{ {
// Get path // Get path
char path[260]; char path[MAX_PATH];
sprintf(path, "%s\\%s", gDataPath, name); sprintf(path, "%s\\%s", gDataPath, name);
gTS.size = GetFileSizeLong(path); gTS.size = GetFileSizeLong(path);