WCMD : Implement $V in builtin PROMPT

Sylvain Petreolle spetreolle at yahoo.fr
Fri Dec 6 05:27:00 CST 2002


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 at 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



More information about the wine-patches mailing list