Bug 613193 - Fix illegal JSON in 'softkb-change' notification [r=blassey r=roc a=blassey]

This commit is contained in:
Mark Finkle 2010-11-18 17:56:11 -05:00
parent 7083536c86
commit 9d7b329f28

View File

@ -599,7 +599,7 @@ nsGtkIMModule::SetIMEEnabled(nsWindow* aCaller, PRUint32 aState)
gdk_window_get_size(aCaller->GetGdkWindow(), &w, &h);
rectBuf.Assign(NS_LITERAL_STRING("{\"left\": "));
rectBuf.AppendInt(x);
rectBuf.Append(NS_LITERAL_STRING(" \"top\": "));
rectBuf.Append(NS_LITERAL_STRING(", \"top\": "));
rectBuf.AppendInt(y);
rectBuf.Append(NS_LITERAL_STRING(", \"right\": "));
rectBuf.AppendInt(w);