From ca02e1aba98d336ef15a80dec34d0fc3cefd98b7 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 11 Aug 2020 17:44:32 +1000 Subject: [PATCH] [host] Windows: change "Open Log File" to "Log File Location" --- host/platform/Windows/src/platform.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/host/platform/Windows/src/platform.c b/host/platform/Windows/src/platform.c index cc9c6b06..848d58e4 100644 --- a/host/platform/Windows/src/platform.c +++ b/host/platform/Windows/src/platform.c @@ -32,7 +32,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA #include "common/locking.h" #include "common/thread.h" -#define ID_MENU_OPEN_LOG 3000 +#define ID_MENU_SHOW_LOG 3000 #define ID_MENU_EXIT 3001 struct AppState @@ -113,7 +113,7 @@ LRESULT CALLBACK DummyWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) ); if (clicked == ID_MENU_EXIT ) app_quit(); - else if (clicked == ID_MENU_OPEN_LOG) + else if (clicked == ID_MENU_SHOW_LOG) { const char * logFile = option_get_string("os", "logFile"); if (strcmp(logFile, "stderr") == 0) @@ -258,9 +258,9 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine MessageHWND = app.messageWnd; app.trayMenu = CreatePopupMenu(); - AppendMenu(app.trayMenu, MF_STRING , ID_MENU_OPEN_LOG, "Open Log File"); - AppendMenu(app.trayMenu, MF_SEPARATOR, 0 , NULL ); - AppendMenu(app.trayMenu, MF_STRING , ID_MENU_EXIT , "Exit" ); + AppendMenu(app.trayMenu, MF_STRING , ID_MENU_SHOW_LOG, "Log File Location"); + AppendMenu(app.trayMenu, MF_SEPARATOR, 0 , NULL ); + AppendMenu(app.trayMenu, MF_STRING , ID_MENU_EXIT , "Exit" ); // create the application thread LGThread * thread;