diff options
author | Joe <rbo@gmx.us> | 2023-12-19 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-19 20:20:20 +0100 |
commit | aae80bd3b591bbcc5de83947e79c71c7f8b5912d (patch) | |
tree | 4362f8ec9533ebbc738daee08f42e857e679e97b /c_parse.go | |
parent | reload (diff) | |
download | hardflip-aae80bd3b591bbcc5de83947e79c71c7f8b5912d.tar.gz hardflip-aae80bd3b591bbcc5de83947e79c71c7f8b5912d.tar.bz2 hardflip-aae80bd3b591bbcc5de83947e79c71c7f8b5912d.tar.xz hardflip-aae80bd3b591bbcc5de83947e79c71c7f8b5912d.tar.zst hardflip-aae80bd3b591bbcc5de83947e79c71c7f8b5912d.zip |
fire
Diffstat (limited to '')
-rw-r--r-- | c_parse.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -87,6 +87,12 @@ func c_read_yaml_file(file string) *HostNode { if host.Port == 0 { host.Port = 3389 } + if host.Width == 0 { + host.Width = 800 + } + if host.Height == 0 { + host.Height = 600 + } } else if host.Type > 1 { return nil } |