From 75c60806e24fd25b913f8ce37bff8e6e937775e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Mon, 12 Nov 2012 17:40:42 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Can deal with void information files again. git-svn-id: svn://localhost/gambas/trunk@5318 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.src/Component/CComponent.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/gambas3/.src/Component/CComponent.class b/app/src/gambas3/.src/Component/CComponent.class index 2eb3a796c..a45ba36cb 100644 --- a/app/src/gambas3/.src/Component/CComponent.class +++ b/app/src/gambas3/.src/Component/CComponent.class @@ -503,7 +503,7 @@ Public Sub Load() bAgain = False aLine = Split(File.Load(sPath), "\n") - If aLine[aLine.Max] = "" Then aLine.Remove(aLine.Max) + If aLine.Count And If aLine[aLine.Max] = "" Then aLine.Remove(aLine.Max) iLine = 0 While iLine < aLine.Count