From aae80bd3b591bbcc5de83947e79c71c7f8b5912d Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 19 Dec 2023 20:20:20 +0100 Subject: fire --- c_parse.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'c_parse.go') 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 } -- cgit v1.2.3