Skip to content

Commit

Permalink
squash
Browse files Browse the repository at this point in the history
  • Loading branch information
metalefty committed Aug 27, 2024
1 parent bc317cd commit bc92c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xrdp/xrdp_tconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ static int tconfig_load_gfx_order(toml_table_t *tfile, struct xrdp_tconfig_gfx *
toml_table_t *codec;
toml_array_t *order;

if ((int)(codec = toml_table_in(tfile, "codec") != NULL) &&
(int)(order = toml_array_in(codec, "order") != NULL))
if ((codec = toml_table_in(tfile, "codec")) != NULL &&
(order = toml_array_in(codec, "order")) != NULL)
{
for (int i = 0; ; i++)
{
Expand Down

0 comments on commit bc92c46

Please sign in to comment.