Skip to content

Commit

Permalink
sqush
Browse files Browse the repository at this point in the history
  • Loading branch information
metalefty committed Aug 27, 2024
1 parent e5f3602 commit bc317cd
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 ((codec = toml_table_in(tfile, "codec") != (toml_table_t *) NULL) &&
(order = toml_array_in(codec, "order") != (toml_table_t *) NULL))
if ((int)(codec = toml_table_in(tfile, "codec") != NULL) &&
(int)(order = toml_array_in(codec, "order") != NULL))
{
for (int i = 0; ; i++)
{
Expand Down

0 comments on commit bc317cd

Please sign in to comment.