/****************************************************************************
- * Copyright (c) 1998-2011,2015 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2015,2016 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
#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.80 2016/05/04 00:46:06 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
}
PUTS("\n");
}
+ code = OK;
}
#else
/*