]> git.deb.at Git - pkg/abook.git/blobdiff - list.h
new configuration system
[pkg/abook.git] / list.h
diff --git a/list.h b/list.h
index d6389791fc4477c0012fdaf841c4771a9cd9aa71..cdffe73903e4acc193eb7274e35b817b14abe9fc 100644 (file)
--- a/list.h
+++ b/list.h
@@ -36,8 +36,8 @@ enum {
 #define LIST_COLS      COLS
 
 #define NAMEPOS                2
-#define EMAILPOS        options_get_int("emailpos")
-#define EXTRAPOS       options_get_int("extrapos")
+#define EMAILPOS        opt_get_int(INT_EMAILPOS)
+#define EXTRAPOS       opt_get_int(INT_EXTRAPOS)
 
 #define NAMELEN                (EMAILPOS-NAMEPOS -1)
 #define EMAILLEN        (EXTRAPOS-EMAILPOS -1)