qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs x11.c cptoqe.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs x11.c cptoqe.c
Date: Wed, 27 Mar 2019 03:32:42 -0400 (EDT)

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        19/03/27 03:32:42

Modified files:
        .              : x11.c cptoqe.c 

Log message:
        constify

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/x11.c?cvsroot=qemacs&r1=1.57&r2=1.58
http://cvs.savannah.gnu.org/viewcvs/qemacs/cptoqe.c?cvsroot=qemacs&r1=1.19&r2=1.20

Patches:
Index: x11.c
===================================================================
RCS file: /sources/qemacs/qemacs/x11.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- x11.c       19 Dec 2018 11:45:39 -0000      1.57
+++ x11.c       27 Mar 2019 07:32:42 -0000      1.58
@@ -96,7 +96,7 @@
 static const char *geometry_str;
 static int font_ptsize;
 
-static const char *default_x11_fonts[NB_FONT_FAMILIES] = {
+static const char * const default_x11_fonts[NB_FONT_FAMILIES] = {
 #ifdef CONFIG_XFT
     "mono",
 #else

Index: cptoqe.c
===================================================================
RCS file: /sources/qemacs/qemacs/cptoqe.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- cptoqe.c    25 Mar 2017 18:13:32 -0000      1.19
+++ cptoqe.c    27 Mar 2019 07:32:42 -0000      1.20
@@ -194,7 +194,7 @@
            filename, iso_name, name, name_id);
 
     if (max_code != -1) {
-        printf("static const unsigned short table_%s[%d] = {\n",
+        printf("static unsigned short const table_%s[%d] = {\n",
                name_id, max_code - min_code + 1);
         j = 0;
         for (i = min_code; i <= max_code; i++) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]