WCMD : Implement $V in builtin PROMPT

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

 



Index: wcmdmain.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/wcmdmain.c,v
retrieving revision 1.18
diff -u -r1.18 wcmdmain.c
--- wcmdmain.c  4 Nov 2002 22:36:07 -0000       1.18
+++ wcmdmain.c  6 Dec 2002 11:24:59 -0000
@@ -484,6 +484,10 @@
          GetTimeFormat (LOCALE_USER_DEFAULT, 0, NULL, NULL, q,
MAX_PATH);
          while (*q) q++;
          break;
+       case 'V':
+           lstrcat (q, version_string);
+           while (*q) q++;
+         break;
        case '_':
          *q++ = '\n';
          break;


=====
Sylvain Petreolle
spetreolle@users.sourceforge.net 
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

"Don't think you are. Know you are." Morpheus in Matrix, chapter 15.

___________________________________________________________
Soyez solidaire soutenez l’action du Téléthon avec Yahoo! France.
http://www1.telethon.fr/030-Espace-Relais-Dons/webtirelire1.asp?hebergeur_id=1309


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux