# HG changeset patch # User unc0rr # Date 1283444367 -14400 # Node ID 7e4f7ed41790d22cb1150407b69e6b9323f10f57 # Parent 9c2737ba87ea4859b67e6b36a2e5cf9191dceff5 zero span is undefined, use -1 instead diff -r 9c2737ba87ea -r 7e4f7ed41790 QTfrontend/chatwidget.cpp --- a/QTfrontend/chatwidget.cpp Thu Sep 02 14:12:02 2010 +0200 +++ b/QTfrontend/chatwidget.cpp Thu Sep 02 20:19:27 2010 +0400 @@ -81,7 +81,7 @@ connect(chatNicks, SIGNAL(currentRowChanged(int)), this, SLOT(chatNickSelected(int))); - mainLayout.addWidget(chatNicks, 0, 1, 0, 1); + mainLayout.addWidget(chatNicks, 0, 1, -1, 1); acInfo = new QAction(QAction::tr("Info"), chatNicks); acInfo->setIcon(QIcon(":/res/info.png")); diff -r 9c2737ba87ea -r 7e4f7ed41790 gameServer/ServerState.hs --- a/gameServer/ServerState.hs Thu Sep 02 14:12:02 2010 +0200 +++ b/gameServer/ServerState.hs Thu Sep 02 20:19:27 2010 +0400 @@ -15,10 +15,10 @@ import CoreTypes data ServerState = ServerState { - clientIndex :: Maybe ClientIndex, - serverInfo :: ServerInfo, - removedClients :: Set.Set ClientIndex, - roomsClients :: MRnC + clientIndex :: !(Maybe ClientIndex), + serverInfo :: !ServerInfo, + removedClients :: !(Set.Set ClientIndex), + roomsClients :: !MRnC }