aboutsummaryrefslogtreecommitdiffstats
path: root/c_parse.go
diff options
context:
space:
mode:
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
}