mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Use C89 not 99
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6648 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6778eeaa36
commit
275d61075f
@ -320,6 +320,7 @@ void fl_set_bmtable_pixmap_file(FL_OBJECT *ob, int nx, int ny, char const *filen
|
|||||||
if (sp) {
|
if (sp) {
|
||||||
Pixmap dummy_shapemask = 0;
|
Pixmap dummy_shapemask = 0;
|
||||||
XpmAttributes dumb_attributes = { 0 };
|
XpmAttributes dumb_attributes = { 0 };
|
||||||
|
XpmColorSymbol xpm_col;
|
||||||
sp->nx = nx;
|
sp->nx = nx;
|
||||||
sp->ny = ny;
|
sp->ny = ny;
|
||||||
sp->bx = FL_abs(ob->bw);
|
sp->bx = FL_abs(ob->bw);
|
||||||
@ -330,7 +331,6 @@ void fl_set_bmtable_pixmap_file(FL_OBJECT *ob, int nx, int ny, char const *filen
|
|||||||
sp->maxi = sp->nx * sp->ny;
|
sp->maxi = sp->nx * sp->ny;
|
||||||
sp->bdata = 0;
|
sp->bdata = 0;
|
||||||
|
|
||||||
XpmColorSymbol xpm_col;
|
|
||||||
xpm_col.name = NULL;
|
xpm_col.name = NULL;
|
||||||
xpm_col.value = "None";
|
xpm_col.value = "None";
|
||||||
xpm_col.pixel = fl_get_flcolor(ob->col1);
|
xpm_col.pixel = fl_get_flcolor(ob->col1);
|
||||||
|
Loading…
Reference in New Issue
Block a user