From 14faae8abffc4a6abc19d7d804e098d232108038 Mon Sep 17 00:00:00 2001 From: malc Date: Sun, 19 May 2013 17:33:26 +0400 Subject: [PATCH] Still too fugly to live, but... No ther options spring to mind --- main.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.ml b/main.ml index cd3bd08..a5968eb 100644 --- a/main.ml +++ b/main.ml @@ -7345,6 +7345,9 @@ let () = if String.length state.path = 0 then (prerr_endline "file name missing"; exit 1); + if not (Config.load ()) + then prerr_endline "failed to load configuration"; + let wsfd, winw, winh = Wsi.init (object val mutable m_uptodatewrtreshape = true method expose = @@ -7404,10 +7407,7 @@ let () = let l = String.length p in String.length r > l && String.sub r 0 l = p ) - then (defconf.sliceheight <- 1024; conf.sliceheight <- 1024;); - - if not (Config.load ()) - then prerr_endline "failed to load configuration"; + then defconf.sliceheight <- 1024; let cr, sw = match Ne.pipe () with -- 2.11.4.GIT