]> git.lyx.org Git - lyx.git/blobdiff - src/combox.h
mathed31.diff
[lyx.git] / src / combox.h
index c948c1895f84a423681b4a31c2383e97d47b41fa..53c3fa6a626aeaa009d02057ea59f02219d980fd 100644 (file)
@@ -133,7 +133,9 @@ public:
        ///
        combox_type type;
        ///
-        int bw, bh;
+        int bw;
+       ///
+       int bh;
        ///
        int sel;
        ///
@@ -232,7 +234,7 @@ string const Combox::getline() const
       return fl_get_input(label);
     else
       return (browser && sel > 0) ?
-             fl_get_browser_line(browser, sel) : string();
+             string(fl_get_browser_line(browser, sel)) : string();
 }
 
 #endif