comparison nnchat.c @ 121:dad765129133

Remove #ifdef __WIN32 around non-win32 specific code.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 29 Oct 2010 10:54:40 +0300
parents 804c7db454b4
children e564dd9df07c
comparison
equal deleted inserted replaced
120:804c7db454b4 121:dad765129133
260 } else if (val < 30) { 260 } else if (val < 30) {
261 col = A_BOLD | COLOR_PAIR(val - 9); 261 col = A_BOLD | COLOR_PAIR(val - 9);
262 } 262 }
263 } 263 }
264 } else { 264 } else {
265 #ifdef __WIN32
266 /* A little hack for win32 + PDCurses */
267 if (*s != '\r') 265 if (*s != '\r')
268 #endif 266 waddch(win, ((unsigned char) *s) | col);
269 waddch(win, ((unsigned char) *s) | col);
270 s++; 267 s++;
271 } 268 }
272 } 269 }
273 return 0; 270 return 0;
274 } 271 }