summaryrefslogtreecommitdiff
path: root/pico
diff options
context:
space:
mode:
Diffstat (limited to 'pico')
-rw-r--r--pico/browse.c2
-rw-r--r--pico/line.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pico/browse.c b/pico/browse.c
index b6d5c473..ca0f4657 100644
--- a/pico/browse.c
+++ b/pico/browse.c
@@ -1118,7 +1118,7 @@ FileBrowse(char *dir, size_t dirlen, char *fn, size_t fnlen,
if((status = fexist(child, "w", (off_t *)NULL)) == FIOSUC){
snprintf(tmp, sizeof(tmp), _("%s \"%.*s\" already exists!"),
- NLINE - 20, add_file > 0 ? "File" : "Directory", child);
+ add_file > 0 ? "File" : "Directory", NLINE - 20, child);
emlwrite(tmp, NULL);
break;
}
diff --git a/pico/line.c b/pico/line.c
index bb51963e..109f52d9 100644
--- a/pico/line.c
+++ b/pico/line.c
@@ -621,7 +621,7 @@ lisblank(LINE *line)
for(; n < llength(line); n++)
if(!ucs4_isspace(lgetc(line, n).c)
|| lgetc(line, n).c >= 0xff
- || (unsigned char) lgetc(line,n).c != NBSPC)
+ || (unsigned char) lgetc(line,n).c != (unsigned char) NBSPC)
return(FALSE);
return(TRUE);