From 49ab58fdda1c4283ddd64b562a2c9322351ff52d Mon Sep 17 00:00:00 2001 From: Allanis Date: Sat, 16 Mar 2013 19:26:15 +0000 Subject: [PATCH] [Change] Cleared silly commodity exchange message. --- src/land.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/land.c b/src/land.c index eb32a75..0c7de43 100644 --- a/src/land.c +++ b/src/land.c @@ -69,15 +69,6 @@ static void news_close(char* str); // The local market. static void commodity_exchange(void) { - char** goods; - int ngoods; - - goods = malloc(sizeof(char*)*3); - goods[0] = strdup("Heya!"); - goods[1] = strdup("Just"); - goods[2] = strdup("testing."); - ngoods = 3; - secondary_wid = window_create("Commodity Exchange", -1, -1, COMMODITY_WIDTH, COMMODITY_HEIGHT); @@ -87,7 +78,7 @@ static void commodity_exchange(void) { window_addList(secondary_wid, 20, -40, COMMODITY_WIDTH-30, COMMODITY_HEIGHT-80-BUTTON_HEIGHT, - "lstGoods", goods, ngoods, 0, NULL); + "lstGoods", NULL, 0, 0, NULL); } static void commodity_exchange_close(char* str) {