diff options
Diffstat (limited to 'apps/talk.h')
-rw-r--r-- | apps/talk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.h b/apps/talk.h index 51504c1a7c..2476c8ec02 100644 --- a/apps/talk.h +++ b/apps/talk.h | |||
@@ -51,8 +51,8 @@ enum { | |||
51 | unit is upper 4 bits, number the remaining (in regular 2's complement) */ | 51 | unit is upper 4 bits, number the remaining (in regular 2's complement) */ |
52 | #define TALK_ID(n,u) ((u)<<UNIT_SHIFT | ((n) & ~(-1<<UNIT_SHIFT))) | 52 | #define TALK_ID(n,u) ((u)<<UNIT_SHIFT | ((n) & ~(-1<<UNIT_SHIFT))) |
53 | 53 | ||
54 | /* convenience macro to have both string and ID as arguments */ | 54 | /* convenience macro to have both virtual pointer and ID as arguments */ |
55 | #define STR(id) str(id), id | 55 | #define STR(id) ID2P(id), id |
56 | 56 | ||
57 | /* publish this string, so it's stored only once (better than #define) */ | 57 | /* publish this string, so it's stored only once (better than #define) */ |
58 | extern const char* dir_thumbnail_name; | 58 | extern const char* dir_thumbnail_name; |