mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:03:04 +01:00
Misc.
This commit is contained in:
parent
7de67d294d
commit
c9ce3b2345
@ -267,7 +267,7 @@ void IUTILS_truncate_term(TEXT* str, USHORT len)
|
||||
* Truncates the rightmost contiguous spaces on a string.
|
||||
* CVC: Notice isspace may be influenced by locales.
|
||||
**************************************/
|
||||
int i = len-1;
|
||||
int i = len - 1;
|
||||
while (i >= 0 && (isspace(UCHAR(str[i])) || (str[i] == 0)))
|
||||
--i;
|
||||
str[i + 1] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user