X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fwchar%2Fwcsncmp.c;h=7ca9a9823b2264df3270c098553dcbc8c6399e5d;hp=920d64719203e86ecc81f43b46c9946ea7c968f3;hb=29387e76cd5cd340fe7d811dc9830931d3d0ec9b;hpb=1aba8d4e33b2a020709f81182709c7de7a728c76 diff --git a/functions/wchar/wcsncmp.c b/functions/wchar/wcsncmp.c index 920d647..7ca9a98 100644 --- a/functions/wchar/wcsncmp.c +++ b/functions/wchar/wcsncmp.c @@ -18,7 +18,7 @@ int wcsncmp( const wchar_t * s1, const wchar_t * s2, size_t n ) ++s2; --n; } - if ( ( n == 0 ) ) + if ( n == 0 ) { return 0; }