enums make more sense here.

This commit is contained in:
William McBrine
2007-04-18 02:26:19 +00:00
parent 0f2bec7919
commit bf3ea3ea14
2 changed files with 4 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
#include <curspriv.h>
#include <stdlib.h>
RCSID("$Id: slk.c,v 1.48 2007/03/16 06:33:44 wmcbrine Exp $");
RCSID("$Id: slk.c,v 1.49 2007/04/18 02:26:18 wmcbrine Exp $");
/*man-start**************************************************************
@@ -90,9 +90,7 @@ RCSID("$Id: slk.c,v 1.48 2007/03/16 06:33:44 wmcbrine Exp $");
**man-end****************************************************************/
#define LABEL_NORMAL 8
#define LABEL_EXTENDED 10
#define LABEL_NCURSES_EXTENDED 12
enum { LABEL_NORMAL = 8, LABEL_EXTENDED = 10, LABEL_NCURSES_EXTENDED = 12 };
static int label_length = 0;
static int labels = 0;

View File

@@ -13,11 +13,9 @@
#include "pdcwin.h"
RCSID("$Id: pdcscrn.c,v 1.80 2007/04/05 08:06:15 wmcbrine Exp $");
RCSID("$Id: pdcscrn.c,v 1.81 2007/04/18 02:26:19 wmcbrine Exp $");
#define PDC_RESTORE_NONE 0
#define PDC_RESTORE_BUFFER 1
#define PDC_RESTORE_WINDOW 2
enum { PDC_RESTORE_NONE, PDC_RESTORE_BUFFER, PDC_RESTORE_WINDOW };
/* Struct for storing console registry keys, and for use with the
undocumented WM_SETCONSOLEINFO message. Originally by James Brown,