aboutsummaryrefslogtreecommitdiff
path: root/svte.c
diff options
context:
space:
mode:
Diffstat (limited to 'svte.c')
-rw-r--r--svte.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/svte.c b/svte.c
index 3cc4477..44827f6 100644
--- a/svte.c
+++ b/svte.c
@@ -572,6 +572,11 @@ static void parse_config_file(gchar *config_file) {
config->font = DEFAULT_FONT;
}
+ if (NULL == config->window_width || NULL == config->window_height) {
+ config->window_width = DEFAULT_WINDOW_WIDTH;
+ config->window_height = DEFAULT_WINDOW_HEIGHT;
+ }
+
if(NULL == config->browser_command) {
config->browser_command = DEFAULT_BROWSER_COMMAND;
}