mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
feat (mac): new message if SaveKeyboard fails
This commit is contained in:
parent
b9bd855a78
commit
f079aae6fa
1 changed files with 4 additions and 1 deletions
|
|
@ -91,7 +91,10 @@ int main(int argc, char* argv[]) {
|
|||
}
|
||||
|
||||
if (mac_KMX_DoConvert(kmxfile, bDeadkeyConversion)) { // I4552F
|
||||
KMX_SaveKeyboard(kmxfile, outfile);
|
||||
if(!KMX_SaveKeyboard(kmxfile, outfile)) {
|
||||
mac_KMX_LogError(L"Failed to save keyboard (%d)\n", errno);
|
||||
return 3;
|
||||
}
|
||||
} else {
|
||||
mac_KMX_LogError(L"Failed to convert keyboard (%d)\n", errno);
|
||||
return 3;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue