Skip to content

Commit

Permalink
Added selector 89 to GetInfo - returns window title from SetMainTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Feb 11, 2013
1 parent 061931c commit b4a1aa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripting/methods/methods_info.cpp
Expand Up @@ -185,6 +185,7 @@ tInfoTypeMapping InfoTypes [] =
{ 86, "Word under mouse on mouse menu click" },
{ 87, "Last command sent" },
{ 88, "Window title last set by SetTitle" },
{ 89, "Window title last set by SetMainTitle" },



Expand Down Expand Up @@ -536,6 +537,7 @@ VARIANT CMUSHclientDoc::GetInfo(long InfoType)
case 86: SetUpVariantString (vaResult, m_strWordUnderMenu); break;
case 87: SetUpVariantString (vaResult, m_strLastCommandSent); break;
case 88: SetUpVariantString (vaResult, m_strWindowTitle); break;
case 89: SetUpVariantString (vaResult, m_strMainWindowTitle); break;

case 101: SetUpVariantBool (vaResult, m_bNoEcho); break;
case 102: SetUpVariantBool (vaResult, m_bDebugIncomingPackets); break;
Expand Down

0 comments on commit b4a1aa5

Please sign in to comment.