diff --git a/OBS.rc b/OBS.rc index 75797bc9..2f5adfbe 100644 --- a/OBS.rc +++ b/OBS.rc @@ -961,7 +961,7 @@ BEGIN POPUP "MainMenu.Help" BEGIN MENUITEM "MainMenu.Help.VisitWebsite", ID_HELP_VISITWEBSITE - MENUITEM "MainMenu.Help.Contents", ID_HELP_CONTENTS + MENUITEM "MainMenu.Help.OpenHelp", ID_HELP_OPENHELP MENUITEM SEPARATOR MENUITEM "MainMenu.Settings.ShowLogWindow", ID_SHOWLOG POPUP "MainMenu.Help.LogFiles" diff --git a/Source/WindowStuff.cpp b/Source/WindowStuff.cpp index 99e9cbd5..2cb61301 100644 --- a/Source/WindowStuff.cpp +++ b/Source/WindowStuff.cpp @@ -3077,17 +3077,8 @@ LRESULT CALLBACK OBS::OBSProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa ShellExecute(NULL, TEXT("open"), TEXT("http://www.obsproject.com"), 0, 0, SW_SHOWNORMAL); break; - case ID_HELP_CONTENTS: - { - String strHelpPath; - UINT dirSize = GetCurrentDirectory(0, 0); - strHelpPath.SetLength(dirSize); - GetCurrentDirectory(dirSize, strHelpPath.Array()); - - strHelpPath << TEXT("\\OBSHelp.chm"); - - ShellExecute(NULL, TEXT("open"), strHelpPath, 0, 0, SW_SHOWNORMAL); - } + case ID_HELP_OPENHELP: + ShellExecute(NULL, TEXT("open"), TEXT("http://jp9000.github.io/OBS/"), 0, 0, SW_SHOWNORMAL); break; case ID_HELP_CHECK_FOR_UPDATES: diff --git a/resource.h b/resource.h index 24a2fb6d..f2d1d8c3 100644 --- a/resource.h +++ b/resource.h @@ -371,7 +371,7 @@ #define ID_MAINMENU_MAINMENU40034 40034 #define ID_SETTINGS_OPENCONFIGFOLDER 40035 #define ID_SETTINGS_OPENLOGFOLDER 40036 -#define ID_HELP_CONTENTS 40037 +#define ID_HELP_OPENHELP 40037 #define ID_HELP_ABOUT 40038 #define ID_FILE_EXIT 40039 #define ID_SETTINGS_SETTINGS 40041 diff --git a/rundir/locale/de.txt b/rundir/locale/de.txt index e23fbc17..2c433f12 100644 --- a/rundir/locale/de.txt +++ b/rundir/locale/de.txt @@ -85,7 +85,7 @@ MainMenu.File.Exit="&Beenden" MainMenu.File.OpenRecordingsFolder="Öffne &Aufnahmenordner" MainMenu.File.Save="&Speichern" -MainMenu.Help.Contents="&Inhalt" +MainMenu.Help.OpenHelp="Hilfe öffnen" MainMenu.Help.VisitWebsite="Webseite besuchen" MainMenu.Help.CheckForUpdates="Nach &Updates suchen" diff --git a/rundir/locale/en.txt b/rundir/locale/en.txt index c98422fc..1a05c4c9 100644 --- a/rundir/locale/en.txt +++ b/rundir/locale/en.txt @@ -99,7 +99,7 @@ MainMenu.File.Exit="E&xit" MainMenu.File.OpenRecordingsFolder="Open &Recordings Folder" MainMenu.File.Save="&Save" -MainMenu.Help.Contents="&Contents" +MainMenu.Help.OpenHelp="Open Help Page" MainMenu.Help.VisitWebsite="Visit Website" MainMenu.Help.CheckForUpdates="Check for &updates"