mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-21 06:45:21 -06:00
commit
f8bcdbcf7f
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ lxw_quote_sheetname(const char *str)
|
|||
/* Check if the sheetname contains any characters that require it
|
||||
* to be quoted. Also check for single quotes within the string. */
|
||||
for (i = 0; i < len; i++) {
|
||||
if (!isalnum(str[i]) && str[i] != '_' && str[i] != '.')
|
||||
if (!isalnum((unsigned char)str[i]) && str[i] != '_' && str[i] != '.')
|
||||
needs_quoting = 1;
|
||||
|
||||
if (str[i] == '\'') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue