mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-18 07:05:29 +01:00
Some small formatting changes, and some stray @ symbols cleaned up
This commit is contained in:
parent
6a342723ed
commit
5c317f6863
10 changed files with 17 additions and 22 deletions
|
|
@ -92,7 +92,7 @@ char *CAP(char *txt)
|
|||
|
||||
/* Skip all preceeding color codes and ANSI codes */
|
||||
while ((*p == '\t' && *(p+1)) || (*p == '\x1B' && *(p+1) == '[')) {
|
||||
if (*p == '\t') p += 2; /* Skip @ sign and color letter/number */
|
||||
if (*p == '\t') p += 2; /* Skip \t sign and color letter/number */
|
||||
else {
|
||||
p += 2; /* Skip the CSI section of the ANSI code */
|
||||
while (*p && !isalpha(*p)) p++; /* Skip until a 'letter' is found */
|
||||
|
|
@ -1499,6 +1499,5 @@ char * convert_from_tabs(char * string)
|
|||
|
||||
strcpy(buf, string);
|
||||
parse_tab(buf);
|
||||
|
||||
return(buf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue