mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-28 21:18:49 +01:00
Fixed a bug that caused tabs to be skipped by skip_spaces()
This commit is contained in:
parent
2934a62ed7
commit
fa8a1e23b7
1 changed files with 1 additions and 1 deletions
|
|
@ -811,7 +811,7 @@ int is_number(const char *str)
|
|||
/* Function to skip over the leading spaces of a string. */
|
||||
void skip_spaces(char **string)
|
||||
{
|
||||
for (; **string && isspace(**string); (*string)++);
|
||||
for (; **string && **string != '\t' && isspace(**string); (*string)++);
|
||||
}
|
||||
|
||||
/* Given a string, change all instances of double dollar signs ($$) to single
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue