Return "" and not "Unknown" from wxMSW wxGetCpuArchitectureName()
This is more consistent with the Unix version, and easier to test for in the application code.
This commit is contained in:
@@ -1297,7 +1297,7 @@ wxString wxGetCpuArchitectureName()
|
||||
|
||||
case PROCESSOR_ARCHITECTURE_UNKNOWN:
|
||||
default:
|
||||
return "Unknown";
|
||||
return wxString();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user