Commit 6cbc861e authored by Richard Cohen's avatar Richard Cohen Committed by Alexandre Julliard

Change variable name from l to k.

parent 76c5590b
......@@ -439,11 +439,11 @@ HFONT WCUSER_CopyFont(struct config_data* config, HWND hWnd, const LOGFONT* lf)
GetCharWidth32(hDC, tm.tmFirstChar, tm.tmFirstChar, &w);
for (i = tm.tmFirstChar + 1; i <= tm.tmLastChar; i += sizeof(buf) / sizeof(buf[0]))
{
int j, l;
int j, k;
l = min(tm.tmLastChar - i, sizeof(buf) / sizeof(buf[0]) - 1);
GetCharWidth32(hDC, i, i + l, buf);
for (j = 0; j <= l; j++)
k = min(tm.tmLastChar - i, sizeof(buf) / sizeof(buf[0]) - 1);
GetCharWidth32(hDC, i, i + k, buf);
for (j = 0; j <= k; j++)
{
if (buf[j] != w)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment