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;