#define CUR SP_TERMTYPE
#endif
-MODULE_ID("$Id: lib_screen.c,v 1.75 2015/04/18 21:58:03 tom Exp $")
+MODULE_ID("$Id: lib_screen.c,v 1.79 2015/12/20 01:22:59 tom Exp $")
#define MAX_SIZE 0x3fff /* 16k is big enough for a window or pad */
result = 0;
break;
}
+ result = buffer;
}
ch = fgetc(fp);
if (ch == EOF)
while (source[0] == MARKER && source[1] == APPEND) {
source += 2;
source = decode_char(source, &value);
- if (append++ < CCHARW_MAX) {
+ if (++append < CCHARW_MAX) {
chars[append] = (wchar_t) value;
}
}
}
#if NCURSES_EXT_PUTWIN
else {
- char *txt;
+ char *txt = 0;
bool success = TRUE;
NCURSES_CH_T prior = blank;
break;
}
}
- target += strlen(target);
#endif
}
#endif