VirtualBox

Changeset 34710 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Dec 3, 2010 9:43:39 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68512
Message:

RTLocCIsSpace: Didn't include \r.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/ctype.h

    r28800 r34710  
    144144DECL_FORCE_INLINE(bool) RTLocCIsSpace(int ch)
    145145{
    146     return (ch) == ' ' || ((ch) >= '\t' && (ch) <= '\f');
     146    /* \t (9), \n (10), \v (11), \f (12), \r (13), ' ' (32). */
     147    return (ch) == ' ' || ((ch) >= 9 && (ch) <= 13);
    147148}
    148149
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette