From 3d14bfd7b140d24b021d8c5b8b64582b64a9496a Mon Sep 17 00:00:00 2001 From: Elvio Basello Date: Fri, 4 Apr 2008 00:48:52 +0000 Subject: more code clean git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1388 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/list/libkvilist.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/modules/list/libkvilist.cpp') diff --git a/src/modules/list/libkvilist.cpp b/src/modules/list/libkvilist.cpp index b5761479b..9941bb404 100644 --- a/src/modules/list/libkvilist.cpp +++ b/src/modules/list/libkvilist.cpp @@ -19,17 +19,14 @@ // Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // - -#include "kvi_module.h" - - #include "listwindow.h" +#include "kvi_module.h" #include "kvi_frame.h" #include "kvi_window.h" #include "kvi_locale.h" -#include +#include KviPointerList * g_pListWindowList = 0; @@ -65,8 +62,6 @@ static bool list_kvs_cmd_open(KviKvsModuleCommandCall * c) return true; } - - static bool list_module_init(KviModule * m) { g_pListWindowList = new KviPointerList; @@ -80,7 +75,7 @@ static bool list_module_cleanup(KviModule *m) { while(g_pListWindowList->first())g_pListWindowList->first()->die(); delete g_pListWindowList; - g_pListWindowList = 0; + g_pListWindowList = 0; return true; } @@ -91,7 +86,7 @@ static bool list_module_can_unload(KviModule *m) KVIRC_MODULE( "List", // module name - "1.0.0", // module version + "4.0.0", // module version "Copyright (C) 2000-2001 Szymon Stefanek (pragma at kvirc dot net)", // author & (C) "List window extension", list_module_init, -- cgit v1.3.1-10-gc9f91