Fix for a crash which happened when a document couldn't be opened.
[AROS-Contrib.git] / fish / memomaster / mm2.h
blobe1c5a034a8431a17146501796718e4b85acf0306
1 /*Header file for mm2 */
4 #define LISTEMPTY (MemListPtr->mlh_Head->mln_Succ == NULL)
5 #define MEMOS_IN_BLOCK 6
6 #define MIN(a,b) ((a)<=(b)?(a):(b))
8 /*---------------------------------------------------------------------
9 * Defines for GDisplay code
12 #define MODE_CHOICE 0
13 #define MODE_INFO 1
14 #define MODE_ERROR 2
16 /*----------------------------------------------------------------------
17 * Defines for deledadd.c
20 #define DEA_SGAD_H 8
21 #define DEA_BGAD_H 11
22 #define DEA_BGAD_W 55
23 #define DEA_DATE_W 85
24 #define DEA_NOTI_W 30
25 #define DEA_TYPE_W 20
26 #define DEA_MEMO_W 490
29 /*----------------------------------------------------------------------
30 * Structure definitions etc
33 struct Memo_Item
35 char mi_Date[10];
36 char mi_Notice[3];
37 char mi_Type[2];
38 char mi_Text[61];
41 struct MI_Mem
43 struct MinNode mim_Node;
44 struct Memo_Item mim_MI;
45 char mim_Select;
46 char mim_Pad;
49 struct MM_Config
51 char cols[4]; /*Colour register redirection*/