Skip to content
Myr

Make comment consistent with code

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nicolas Williams · committed by Nicolas Williams · parent 5d058fa · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/util.c+1 added-1 removed
50 unmodified lines
51 wchar_t *wfname = alloca(sz + 2); // +2 is not needed, but just in case52 MultiByteToWideChar(CP_UTF8, 0, fname, -1, wfname, sz);5354 sz = sizeof(wchar_t) * MultiByteToWideChar(CP_UTF8, 0, mode, -1, NULL, 0);55 wchar_t *wmode = alloca(sz); // +2 is not needed, but just in case55 wchar_t *wmode = alloca(sz + 2); // +2 is not needed, but just in case56 MultiByteToWideChar(CP_UTF8, 0, mode, -1, wmode, sz);57 return _wfopen(wfname, wmode);58}59#endif
401 unmodified lines