Browse Source

*** empty log message ***

tags/adam_release_2-2-2
Randolph Chung 21 years ago
parent
commit
bb1347e500
3 changed files with 6 additions and 4 deletions
  1. +1
    -1
      Makefile
  2. +3
    -1
      data.c
  3. +2
    -2
      slangui.c

+ 1
- 1
Makefile View File

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


+ 3
- 1
data.c View File

@@ -1,4 +1,4 @@
/* $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;
}


+ 2
- 2
slangui.c View File

@@ -1,4 +1,4 @@
/* $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();


Loading…
Cancel
Save