shithub: cstory

Download patch

ref: 142511a52ccbff19a8405d1508573ffdad3b7fc6
parent: bbf2f197b5cc9e193941e231d4879663f5a4c3f8
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Aug 28 20:05:41 EDT 2019

Cleanup

--- a/src/Generic.cpp
+++ b/src/Generic.cpp
@@ -318,7 +318,7 @@
 }
 
 // TODO - Inaccurate stack frame
-BOOL LoadWindowRect(HWND hWnd, char *window_rect_filename, BOOL unknown)
+BOOL LoadWindowRect(HWND hWnd, char *filename, BOOL unknown)
 {
 	char path[PATH_LENGTH];
 	int min_window_width;
@@ -332,7 +332,7 @@
 
 	showCmd = SW_SHOWNORMAL;
 
-	sprintf(path, "%s\\%s", gModulePath, window_rect_filename);
+	sprintf(path, "%s\\%s", gModulePath, filename);
 
 	fp = fopen(path, "rb");
 	if (fp)
--- a/src/Generic.h
+++ b/src/Generic.h
@@ -17,6 +17,6 @@
 #endif
 BOOL IsShiftJIS(unsigned char c);
 BOOL CenterWindow(HWND hWnd);
-BOOL LoadWindowRect(HWND hWnd, char *window_rect_filename, BOOL unknown);
+BOOL LoadWindowRect(HWND hWnd, char *filename, BOOL unknown);
 BOOL SaveWindowRect(HWND hWnd, const char *filename);
 BOOL IsEnableBitmap(const char *path);