]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/form_copyright.C
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / form_copyright.C
index 4d2fff85b76730de7ea915831173d90151a72ba3..3d9425c06e5e0a32e9bdcd7278112559c6e18091 100644 (file)
@@ -37,8 +37,11 @@ FD_form_copyright * FormCopyright::build_copyright()
     fl_set_object_boxtype(obj, FL_FRAME_BOX);
     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
-  fdui->button_cancel = obj = fl_add_button(FL_RETURN_BUTTON, 160, 390, 140, 30, idex(_("Close|#C^[^M")));
-    fl_set_button_shortcut(obj, scex(_("Close|#C^[^M")), 1);
+  {
+    char const * const dummy = N_("Close|^[^M");
+    fdui->button_cancel = obj = fl_add_button(FL_RETURN_BUTTON, 160, 390, 140, 30, idex(_(dummy)));
+    fl_set_button_shortcut(obj, scex(_(dummy)), 1);
+  }
     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
     fl_set_object_gravity(obj, FL_South, FL_South);
     fl_set_object_resize(obj, FL_RESIZE_NONE);