diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/res/jabber.rc | 7 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_console.cpp | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/protocols/JabberG/res/jabber.rc b/protocols/JabberG/res/jabber.rc index c02871fb5c..f8718e1194 100644 --- a/protocols/JabberG/res/jabber.rc +++ b/protocols/JabberG/res/jabber.rc @@ -661,7 +661,7 @@ BEGIN PUSHBUTTON "Cancel",IDCANCEL,200,203,50,14
END
-IDD_CONSOLE DIALOGEX 0, 0, 354, 240
+IDD_CONSOLE DIALOGEX 0, 0, 354, 225
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "XML Console"
@@ -756,6 +756,11 @@ BEGIN VERTGUIDE, 297
HORZGUIDE, 229
END
+
+ IDD_CONSOLE, DIALOG
+ BEGIN
+ BOTTOMMARGIN, 223
+ END
END
#endif // APSTUDIO_INVOKED
diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp index e11f7dcadf..2ec284e4a3 100644 --- a/protocols/JabberG/src/jabber_console.cpp +++ b/protocols/JabberG/src/jabber_console.cpp @@ -447,7 +447,7 @@ public: TiXmlDocument doc;
if (0 == doc.Parse(T2Utf(textToSend)))
- m_proto->m_ThreadInfo->send(doc.ToElement());
+ m_proto->m_ThreadInfo->send(doc.RootElement());
else {
StringBuf buf = {};
sttAppendBufRaw(&buf, RTF_HEADER);
|