diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/db_events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/db_events.cpp b/src/mir_app/src/db_events.cpp index 0a2b6a6431..d0c7291c9d 100644 --- a/src/mir_app/src/db_events.cpp +++ b/src/mir_app/src/db_events.cpp @@ -67,13 +67,13 @@ MIR_APP_DLL(int) DbEvent_RegisterType(DBEVENTTYPEDESCR *et) p->flags = et->flags;
char szServiceName[100];
- if (!p->textService) {
+ if (!et->textService) {
mir_snprintf(szServiceName, "%s/GetEventText%d", p->module, p->eventType);
p->textService = mir_strdup(szServiceName);
}
else p->textService = mir_strdup(et->textService);
- if (!p->iconService) {
+ if (!et->iconService) {
mir_snprintf(szServiceName, "%s/GetEventIcon%d", p->module, p->eventType);
p->iconService = mir_strdup(szServiceName);
}
|