- 2032 write_to_buffer (d, buf, point2 - buf);
2033 }
2034 else
2035 {
- 2036 for (point = txt; *point; point++)
2037 {
- 2038 if (*point == '{' && *point– != '{')
2039 {
2040 point++;
2041 continue;
2042 }
- 2043 *point2 = *point;
- 2044 *++point2 = '\0';
2045 }
- 2046 *point2 = '\0';
- 2047 write_to_buffer (d, buf, point2 - buf);
2048 }
2049 }
2050 return;
- 2051 }
2052
2053 void page_to_char (const char *txt, CHAR_DATA * ch)
- 2054 {
2055 const char *point;
2056 char *point2;
if (*point == '{' && *point– != '{')
if(*point == '{'){
++point;
if(*point != '{')
continue;
}
If I select Yes.. it runs fine.. but if I select No.. it crashes.
How do I 'debug' this problem? or is it normally an easy fix?