mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
Merge branch 'android_branch' into toolbar
This commit is contained in:
commit
586e0d25f9
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ SRC = xwrelay.cpp \
|
|||
|
||||
# STATIC ?= -static
|
||||
GITINFO = gitversion.txt
|
||||
HASH=$(shell ../scripts/gitversion.sh)
|
||||
HASH=$(shell git describe)
|
||||
|
||||
OBJ = $(patsubst %.cpp,%.o,$(SRC))
|
||||
#LDFLAGS += -pthread -g -lmcheck $(STATIC)
|
||||
|
|
|
@ -522,7 +522,7 @@ cmd_lock( int socket, const char** args )
|
|||
static bool
|
||||
cmd_help( int socket, const char** args )
|
||||
{
|
||||
if ( 0 == strcmp( "help", args[1] ) ) {
|
||||
if ( NULL != args[1] && 0 == strcmp( "help", args[1] ) ) {
|
||||
print_to_sock( socket, true, "* %s -- prints this", args[0] );
|
||||
} else {
|
||||
|
||||
|
|
Loading…
Reference in a new issue