nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] string fix


From: Jordi Mallach
Subject: [Nano-devel] string fix
Date: Mon, 29 Jul 2002 15:47:10 +0200
User-agent: Mutt/1.4i

Does this make sense? If a file is a directory, well, it's a directory,
not a file, right? :)

Index: files.c
===================================================================
RCS file: /cvsroot/nano/nano/files.c,v
retrieving revision 1.176
diff -u -r1.176 files.c
--- files.c     24 Jul 2002 01:02:26 -0000      1.176
+++ files.c     29 Jul 2002 13:45:14 -0000
@@ -362,7 +362,7 @@
        if (S_ISDIR(fileinfo.st_mode) || S_ISCHR(fileinfo.st_mode) || 
                S_ISBLK(fileinfo.st_mode)) {
            if (S_ISDIR(fileinfo.st_mode))
-               statusbar(_("File \"%s\" is a directory"), filename);
+               statusbar(_("\"%s\" is a directory"), filename);
            else
                /* Don't open character or block files.  Sorry, /dev/sndstat! */
                statusbar(_("File \"%s\" is a device file"), filename);


(if it does, David feel free to let your monsterpatch eat it)

-- 
Jordi Mallach PĂ©rez || address@hidden || Rediscovering Freedom,
   aka Oskuro in    || address@hidden      || Using Debian GNU/Linux
 Reinos de Leyenda  || address@hidden          || http://www.debian.org/

http://sindominio.net  GnuPG public information:      pub  1024D/917A225E 
telnet pusa.uv.es 23   73ED 4244 FD43 5886 20AC  2644 2584 94BA 917A 225E

Attachment: pgpxWuLXi5Z0W.pgp
Description: PGP signature


reply via email to

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