diff options
author | jozan <jozan@noemail.net> | 2020-11-08 15:12:45 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-08 15:12:45 +0000 |
commit | 265692f3d2009b49cd7436c1034b0846cbc856a5 (patch) | |
tree | 0d115f62e45b7e3ca243db9948223f5af892cb17 /src/u_utils.c | |
parent | Trying wchar_t (diff) | |
download | unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.gz unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.bz2 unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.xz unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.tar.zst unixize-265692f3d2009b49cd7436c1034b0846cbc856a5.zip |
I can use unicode now!
FossilOrigin-Name: 4ca709ec2cb6da28780e0135b3be84c028c5db3513437844cb1e48a2180332cd
Diffstat (limited to 'src/u_utils.c')
-rw-r--r-- | src/u_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/u_utils.c b/src/u_utils.c index cc2f893..75406c8 100644 --- a/src/u_utils.c +++ b/src/u_utils.c @@ -218,12 +218,12 @@ u_decrease_subpath(char subp[]) bool_t u_ischarset -(wchar_t c, - const wchar_t cs[]) +(wchar_t c, + const char cs[]) { - wchar_t *p; + char *p; - p = (wchar_t*)cs; + p = (char*)cs; while (*p != 0x00 && *p != c) { p++; } |