Commit bb1347e5 authored by Randolph Chung's avatar Randolph Chung

*** empty log message ***

parent d809a174
......@@ -3,7 +3,7 @@ VERSION=\"0.1\"
CC = gcc
CFLAGS = -g -Wall
DEFS = -DVERSION=$(VERSION) -DPACKAGE=\"$(PROGRAM)\" -DLOCALEDIR=\"/usr/share/locale\" #-DDEBUG
LIBS = -lslang
LIBS = -lslang #-lccmalloc -ldl
OBJS = tasksel.o slangui.o data.o util.o strutl.o
COMPILE = $(CC) $(CFLAGS) $(DEFS) -c
......
/* $Id: data.c,v 1.2 1999/11/23 05:39:27 tausq Exp $ */
/* $Id: data.c,v 1.3 1999/12/13 03:01:33 tausq Exp $ */
/* data.c - encapsulates functions for reading a package listing like dpkg's available file
* Internally, packages are stored in a binary tree format to faciliate search operations
*/
......@@ -245,5 +245,7 @@ void packages_free(struct packages_t *taskpkgs, struct packages_t *pkgs)
twalk(taskpkgs->packages, packages_walk_delete);
_packages_root = pkgs->packages;
twalk(pkgs->packages, packages_walk_delete);
if (_packages_enumbuf != NULL) FREE(_packages_enumbuf);
_packages_enumbuf = NULL;
}
/* $Id: slangui.c,v 1.5 1999/11/23 05:39:27 tausq Exp $ */
/* $Id: slangui.c,v 1.6 1999/12/13 03:01:33 tausq Exp $ */
/* slangui.c - SLang user interface routines */
/* TODO: the redraw code is a bit broken, also this module is using way too many
* global vars */
......@@ -79,7 +79,7 @@ void ui_init(int argc, char * const argv[], struct packages_t *taskpkgs, struct
SLtt_set_color(POINTEROBJ, NULL, "brightblue", "cyan");
SLtt_set_color(DESCOBJ, NULL, "black", "cyan");
SLtt_set_color(STATUSOBJ, NULL, "yellow", "blue");
SLtt_set_color(DIALOGOBJ, NULL, "black", "white");
SLtt_set_color(DIALOGOBJ, NULL, "black", "lightgray");
SLtt_set_color(BUTTONOBJ, NULL, "white", "red");
ui_resize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment