chemtool/chemtool-1.6.7-gcc.patch

15 lines
483 B
Diff

--- chemtool-1.6.7.orig/main.c 2005-11-10 14:24:42.000000000 +0100
+++ chemtool-1.6.7/main.c 2005-11-10 14:25:17.000000000 +0100
@@ -2977,9 +2977,9 @@
{
int i, j;
int tmplnum[125];
- char bondnums[15][3];
+ char bondnums[22][3];
char msgtmp[100];
- const char *fontsizelabel[7]={"8","10","12","14","17","20","24"};
+ static const char *fontsizelabel[7]={"8","10","12","14","17","20","24"};
GtkWidget *aboutw,*helpw,*helptext;
GtkWidget *vbox;
GtkWidget *hbox;