X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommand.c;h=4203ac32d0ea7f478ed1dd65a51bae61ed58f13a;hb=64f58bbdab17e4a09b725e713f4f82f567f44076;hp=3185446789b5073ae0b225ce2bdd855152214e3e;hpb=317e6b778833b5dcd5dd195c0b677835a8024b2a;p=pspp-builds.git diff --git a/src/command.c b/src/command.c index 31854467..4203ac32 100644 --- a/src/command.c +++ b/src/command.c @@ -28,7 +28,7 @@ #include "dictionary.h" #include "error.h" #include "glob.h" -#include "getline.h" +#include "getl.h" #include "lexer.h" #include "main.h" #include "settings.h" @@ -45,6 +45,10 @@ #if HAVE_SYS_WAIT_H #include #endif + +#include "gettext.h" +#define _(msgid) gettext (msgid) +#define N_(msgid) msgid /* Global variables. */ @@ -305,7 +309,7 @@ static const char * find_word (const char *string, size_t *word_len) { /* Skip whitespace and asterisks. */ - while (isspace (*string)) + while (isspace ((unsigned char) *string)) string++; /* End of string? */