зеркало из https://github.com/mozilla/pjs.git
Bug 686775 - Matching external API version of StripWhitespace with internal version by adding stripping of \b. r=bsmedberg
This commit is contained in:
Родитель
2396f81140
Коммит
0e94e9e6b1
|
@ -199,7 +199,7 @@ public:
|
|||
/**
|
||||
* Strip whitespace characters from the string.
|
||||
*/
|
||||
NS_HIDDEN_(void) StripWhitespace() { StripChars(" \t\n\r"); }
|
||||
NS_HIDDEN_(void) StripWhitespace() { StripChars("\b\t\r\n "); }
|
||||
|
||||
NS_HIDDEN_(void) Trim(const char *aSet, bool aLeading = true,
|
||||
bool aTrailing = true);
|
||||
|
@ -542,7 +542,7 @@ public:
|
|||
/**
|
||||
* Strip whitespace characters from the string.
|
||||
*/
|
||||
NS_HIDDEN_(void) StripWhitespace() { StripChars(" \t\r\n"); }
|
||||
NS_HIDDEN_(void) StripWhitespace() { StripChars("\b\t\r\n "); }
|
||||
|
||||
NS_HIDDEN_(void) Trim(const char *aSet, bool aLeading = true,
|
||||
bool aTrailing = true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче