projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f4783
)
Fix issue reported in #5560: language bar might not be supported by server.
author
Armin Novak
<armin.novak@thincast.com>
Tue, 3 Sep 2019 06:07:45 +0000
(08:07 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 3 Sep 2019 06:07:45 +0000
(08:07 +0200)
client/X11/xf_rail.c
patch
|
blob
|
history
diff --git
a/client/X11/xf_rail.c
b/client/X11/xf_rail.c
index
21dacac
..
0a8f386
100644
(file)
--- a/
client/X11/xf_rail.c
+++ b/
client/X11/xf_rail.c
@@
-872,8
+872,15
@@
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)
- return status;
+ /* 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;