| |
| |
| @@ -301,8 +301,8 @@ |
| strcpy(regpath, regtempl); |
| strcat(regpath, layoutName); |
| |
| - if (!RegOpenKey(HKEY_LOCAL_MACHINE, regpath, ®key)) |
| - RegQueryValueEx(regkey, "Layout Text", 0, NULL, |
| + if (!RegOpenKeyA(HKEY_LOCAL_MACHINE, regpath, ®key)) |
| + RegQueryValueExA(regkey, "Layout Text", 0, NULL, |
| layoutFriendlyName, &namesize); |
| |
| /* Close registry key */ |