Browse Source

trimmed some cruft

r127
keep-around/c8703c509368e1805e513d61f98a9d17d2cdd9cc
Joey Hess 22 years ago
parent
commit
ec97528667
  1. 4
      main-menu.h
  2. 2
      status.c

4
main-menu.h

@ -19,10 +19,6 @@
typedef enum { unpacked, installed, other } package_status;
#define STATUS_UNKNOWN 0
#define STATUS_UNPACKED 1
#define STATUS_INSTALLED 2
struct package_t {
char *package;
int installer_menu_item;

2
status.c

@ -41,7 +41,7 @@ struct package_t *status_read(void) {
p = newp;
}
else if (strstr(buf, "Installer-Menu-Item: ") == buf) {
p->installer_menu_item = atoi(buf+21);
p->installer_menu_item = atoi(buf + 21);
}
else if (strstr(buf, "Status: ") == buf) {
if (strstr(buf, " unpacked")) {

Loading…
Cancel
Save