[Change] Cleared silly commodity exchange message.

This commit is contained in:
Allanis 2013-03-16 19:26:15 +00:00
parent 4bff93e148
commit 49ab58fdda

View File

@ -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) {