Fix issue reported in language bar might not be supported by server.
@@ -872,9 +872,16 @@ static UINT xf_rail_server_start_cmd(RailClientContext* context)
langBarInfo.languageBarStatus = 0x00000008; /* TF_SFT_HIDDEN */
status = context->ClientLanguageBarInfo(context, &langBarInfo);
- if (status != CHANNEL_RC_OK)
+ /* We want the language bar, but the server might not support it. */
+ switch(status)
+ {
+ case CHANNEL_RC_OK:
+ case ERROR_BAD_CONFIGURATION:
+ break;
+ default:
return status;
}
+ }
sysparam.params = 0;
sysparam.params |= SPI_MASK_SET_HIGH_CONTRAST;
