]> git.lyx.org Git - lyx.git/blobdiff - src/bullet_forms_cb.C
Dekel's patch -- I didn't fix the xforms-0.88 keysyms stuff so it still doesn't finis...
[lyx.git] / src / bullet_forms_cb.C
index 761f322514f53bf7040472ca21f4d5f9f0b14ea0..a8b37a5bed96c0caa37755c1628c6bc9befa4811 100644 (file)
@@ -218,9 +218,10 @@ void BulletPanelCB(FL_OBJECT * /*ob*/, long data)
                        new_panel = "standard";
                        break;
                }
-               new_panel += ".xpm";
-               fl_set_bmtable_pixmap_file(fd_form_bullet->bmtable_bullet_panel, 6, 6,
-                                          LibFileSearch("images", new_panel.c_str()).c_str());
+               fl_set_bmtable_pixmap_file(fd_form_bullet->bmtable_bullet_panel, 
+                                          6, 6,
+                                          LibFileSearch("images", new_panel, 
+                                                        "xpm").c_str());
                fl_redraw_object(fd_form_bullet->bmtable_bullet_panel);
                fl_unfreeze_form(fd_form_bullet->form_bullet);
        }