aboutsummaryrefslogtreecommitdiffstats
path: root/c_parse.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-19 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-19 20:20:20 +0100
commitaae80bd3b591bbcc5de83947e79c71c7f8b5912d (patch)
tree4362f8ec9533ebbc738daee08f42e857e679e97b /c_parse.go
parentreload (diff)
downloadhardflip-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.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/c_parse.go b/c_parse.go
index 35a179f..83e10d4 100644
--- a/c_parse.go
+++ b/c_parse.go
@@ -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
}