Skip to content

Commit 444d87f

Browse files
committed
Added selector 88 to GetInfo - returns window title from SetTitle
1 parent 5f3b03b commit 444d87f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripting/methods/methods_info.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ tInfoTypeMapping InfoTypes [] =
184184
{ 85, "State files path (directory)" },
185185
{ 86, "Word under mouse on mouse menu click" },
186186
{ 87, "Last command sent" },
187-
187+
{ 88, "Window title last set by SetTitle" },
188188

189189

190190

@@ -535,6 +535,7 @@ VARIANT CMUSHclientDoc::GetInfo(long InfoType)
535535
case 85: SetUpVariantString (vaResult, App.m_strDefaultStateFilesDirectory); break;
536536
case 86: SetUpVariantString (vaResult, m_strWordUnderMenu); break;
537537
case 87: SetUpVariantString (vaResult, m_strLastCommandSent); break;
538+
case 88: SetUpVariantString (vaResult, m_strWindowTitle); break;
538539

539540
case 101: SetUpVariantBool (vaResult, m_bNoEcho); break;
540541
case 102: SetUpVariantBool (vaResult, m_bDebugIncomingPackets); break;

0 commit comments

Comments
 (0)