File: cmdversion.c

package info (click to toggle)
xshipwars 1.32-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 17,176 kB
  • ctags: 6,357
  • sloc: ansic: 157,152; makefile: 226; sh: 75
file content (20 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "xsw.h"



int CmdVersion(char *arg)
{
        char stringa[256];


        sprintf(stringa,
            "%s - Version %s.",
            PROG_NAME,
            PROG_VERSION
        );
        MesgAdd(stringa, xsw_color.standard_text);


        return(0);
}