summaryrefslogtreecommitdiff
path: root/dynotify.c
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-05-28 16:05:28 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-05-28 16:05:28 -0700
commitea4c94e206505eb2fd4028a2240542ca67120525 (patch)
tree7e132a91cd413c21dc2f2c7ef2eeb8a7ae0ec1a0 /dynotify.c
parent70379c13e8d77d4e62c351df92a956b4cb3f2e5c (diff)
Revert "refactor: dynotify"
This reverts commit 70379c13e8d77d4e62c351df92a956b4cb3f2e5c. Because I like the old code that specify how large the string is.
Diffstat (limited to 'dynotify.c')
-rw-r--r--dynotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dynotify.c b/dynotify.c
index 11b2429..c77aeed 100644
--- a/dynotify.c
+++ b/dynotify.c
@@ -46,7 +46,7 @@ struct memory {
};
struct dyroom {
- const char *name;
+ const char name[DYROOM_NAME_LEN];
const unsigned int id;
bool up;
};