* GuiToolbar.cpp (sorted_ong_map):

- sort (and prevent assertion).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24177 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-04-08 15:59:23 +00:00
parent f9d1837048
commit e624a4176e

View File

@ -108,6 +108,8 @@ private:
};
// this must be sorted alphabetically
// Upper case comes before lower case
PngMap sorted_png_map[] = {
{ "Bumpeq", "bumpeq2" },
{ "Cap", "cap2" },
@ -134,6 +136,7 @@ PngMap sorted_png_map[] = {
{ "Updownarrow", "updownarrow2" },
{ "Upsilon", "upsilon2" },
{ "Vdash", "vdash3" },
{ "Vert", "vert2" },
{ "Xi", "xi2" },
{ "nLeftarrow", "nleftarrow2" },
{ "nLeftrightarrow", "nleftrightarrow2" },
@ -142,8 +145,7 @@ PngMap sorted_png_map[] = {
{ "nvDash", "nvdash2" },
{ "textrm \\AA", "textrm_AA"},
{ "textrm \\O", "textrm_O"},
{ "vDash", "vdash2" },
{ "Vert", "vert2" }
{ "vDash", "vdash2" }
};
size_t const nr_sorted_png_map = sizeof(sorted_png_map) / sizeof(PngMap);