Ignore:
Timestamp:
Aug 29, 2009, 3:22:10 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Some more fgets => mr_getline transformations
  • XWIN define is gone
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-tools.c

    r2338 r2357  
    108108        return;
    109109    }
    110 #ifndef _XWIN
    111110    if (!g_text_mode)
    112111        newtSuspend();
    113 #endif
    114112    printf("ASSERTION FAILED: `%s'\n", exp);
    115113    printf("\tat %s:%d in %s\n\n", file, line, function);
     
    158156    getchar();                  // skip \n
    159157
    160 #ifndef _XWIN
    161158    if (!g_text_mode)
    162159        newtResume();
    163 #endif
    164160}
    165161
     
    344340        output[i - 1] = '\0';
    345341    }
    346     if (g_text_mode
    347         /* && !strstr(last_line_of_file(MONDO_LOGFILE),output) */ ) {
     342    if (g_text_mode) {
    348343        printf("%s\n", output);
    349344    }
Note: See TracChangeset for help on using the changeset viewer.