/[ipchat]/ipchat/src/ui_format.c
ViewVC logotype

Diff of /ipchat/src/ui_format.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by beatk, Fri Feb 11 00:01:04 2005 UTC revision 1.5 by beatk, Fri Mar 25 18:37:47 2005 UTC
# Line 390  format_waddnstr (WINDOW *win, const char Line 390  format_waddnstr (WINDOW *win, const char
390                  i = 0;                  i = 0;
391                  if (fmt) {                  if (fmt) {
392                          /* search sequence or new line */                          /* search sequence or new line */
393                          while (str[i] != '\n' && str[i] != SEQCH && i < n)                          while (i < n && str[i] != '\n' && str[i] != SEQCH)
394                                  i++;                                  i++;
395                  }                  }
396                  else {                  else {
397                          /* accelerated search when no format is active                          /* accelerated search when no format is active
398                             (that's most of the time) */                             (that's most of the time) */
399                          while (str[i] != SEQCH && i < n)                          while (i < n && str[i] != SEQCH)
400                                  i++;                                  i++;
401                  }                  }
402    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26