mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-02 10:05:26 +00:00
36d8fa12d39a78c0538e9ac071be1b288a49051b
A CSS identifier can't start with a digit, so when a folder name does, a '_' character is appended at the beginning of its CSS identifier. The check for this first character used the `isdigit()` function, which takes a `char` argument, while `[self objectAtIndex: 0]` returns a `unichar`, i.e. a 16-bit unsigned integer. This caused some non-digit characters to pass this check (e.g. Chinese characters), ending up with an underscore at the beginning of the folder name.
Description
Languages
Objective-C
67.8%
JavaScript
14.7%
Rich Text Format
9.7%
SCSS
2.2%
C
1.5%
Other
4%