瀏覽代碼

Merge 22b2f17660 into 242dfee5ef

pull/5523/merge
Eddy Jansson 21 小時之前
committed by GitHub
父節點
當前提交
b7223ce034
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      src/platforms/rcore_desktop_win32.c
  2. +2
    -2
      tools/rlparser/rlparser.c

+ 1
- 1
src/platforms/rcore_desktop_win32.c 查看文件

@ -1777,7 +1777,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpara
{
// looks like windows will automatically "unminimize" a window
// if a style changes modifies it's size
TRACELOG(LOG_INFO, "WIN32: WINDOW: Style change modifed window size, removing maximized flag");
TRACELOG(LOG_INFO, "WIN32: WINDOW: Style change modified window size, removing maximized flag");
deferredFlags->clear |= FLAG_WINDOW_MAXIMIZED;
}
}

+ 2
- 2
tools/rlparser/rlparser.c 查看文件

@ -260,7 +260,7 @@ int main(int argc, char *argv[])
for (int i = 0; i < lineCount; i++)
{
int j = 0;
while ((lines[i][j] == ' ') || (lines[i][j] == '\t')) j++; // skip spaces and tabs in the begining
while ((lines[i][j] == ' ') || (lines[i][j] == '\t')) j++; // skip spaces and tabs in the beginning
// Read define line
if (IsTextEqual(lines[i]+j, "#define ", 8))
{
@ -385,7 +385,7 @@ int main(int argc, char *argv[])
char *linePtr = lines[defineLines[i]];
int j = 0;
while ((linePtr[j] == ' ') || (linePtr[j] == '\t')) j++; // Skip spaces and tabs in the begining
while ((linePtr[j] == ' ') || (linePtr[j] == '\t')) j++; // Skip spaces and tabs in the beginning
j += 8; // Skip "#define "
while ((linePtr[j] == ' ') || (linePtr[j] == '\t')) j++; // Skip spaces and tabs after "#define "

Loading…
取消
儲存