qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs buffer.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs buffer.c
Date: Sun, 30 Mar 2008 11:00:08 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        08/03/30 11:00:08

Modified files:
        .              : buffer.c 

Log message:
        start buffer names at <1> upon collisions

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/buffer.c?cvsroot=qemacs&r1=1.35&r2=1.36

Patches:
Index: buffer.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/buffer.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- buffer.c    25 Mar 2008 10:13:37 -0000      1.35
+++ buffer.c    30 Mar 2008 11:00:07 -0000      1.36
@@ -444,7 +444,7 @@
     /* set the buffer name to NULL since it will be changed */
     b->name[0] = '\0';
     pos = strlen(name);
-    n = 2;
+    n = 1;
     while (eb_find(name) != NULL) {
         snprintf(name + pos, sizeof(name) - pos, "<%d>", n);
         n++;




reply via email to

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