Hugh McMaster hugh.mcmaster@outlook.com wrote:
- if (strcmpW(data->curcfg.face_name, cfg->face_name) || data->curcfg.cell_width != cfg->cell_width ||
{ data->fnSetFont(data, cfg->face_name, cfg->cell_height, cfg->font_weight); }data->curcfg.cell_height != cfg->cell_height || data->curcfg.font_weight != cfg->font_weight)
Font names should be tested using a case insensitive check.
On Thursday, 29 Oct 2015 18:34:07 +0800, Dmitry Timoshkov wrote:
Hugh McMaster wrote:
- if (strcmpW(data->curcfg.face_name, cfg->face_name) || data->curcfg.cell_width != cfg->cell_width ||
{ data->fnSetFont(data, cfg->face_name, cfg->cell_height, cfg->font_weight); }data->curcfg.cell_height != cfg->cell_height || data->curcfg.font_weight != cfg->font_weight)
Font names should be tested using a case insensitive check.
Do we use strcmpiW, lstrcmpiW or a function defined in wine/unicode.h for that?
Hugh McMaster hugh.mcmaster@outlook.com wrote:
- if (strcmpW(data->curcfg.face_name, cfg->face_name) || data->curcfg.cell_width != cfg->cell_width ||
{ data->fnSetFont(data, cfg->face_name, cfg->cell_height, cfg->font_weight); }data->curcfg.cell_height != cfg->cell_height || data->curcfg.font_weight != cfg->font_weight)
Font names should be tested using a case insensitive check.
Do we use strcmpiW, lstrcmpiW or a function defined in wine/unicode.h for that?
Using any of them should be fine.