Changeset 883


Ignore:
Timestamp:
Oct 8, 2006, 12:08:19 PM (13 years ago)
Author:
bruno
Message:

Fix a new segmentation fault introduced recently (Andree Leidenfrost)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/newt-specific.c

    r877 r883  
    928928
    929929        strncpy(prompt, p, MAX_NEWT_COMMENT_LEN - 1);
    930         prompt[MAX_NEWT_COMMENT_LEN] = '\0';
     930        prompt[MAX_NEWT_COMMENT_LEN - 1] = '\0';
    931931        text = newtTextboxReflowed(1, 1, prompt, 40, 5, 5, 0);
    932932        b_1 =
Note: See TracChangeset for help on using the changeset viewer.