mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: rename eventname.* to eventtype.*
This structure is used to hide events of a certain type. The type was inferred from its name, but now includes flags. So event_type is more appropriate. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7a74a6c426
commit
d3c9cb14bf
10 changed files with 94 additions and 95 deletions
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "event.h"
|
||||
#include "eventname.h"
|
||||
#include "eventtype.h"
|
||||
#include "subsurface-string.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -80,7 +80,7 @@ struct event *create_event(unsigned int time, int type, int flags, int value, co
|
|||
break;
|
||||
}
|
||||
|
||||
remember_event_name(name, flags);
|
||||
remember_event_type(name, flags);
|
||||
|
||||
return ev;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue