mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 15:16:21 +00:00
Show indicator when form has unsaved changes
This commit is contained in:
@@ -81,7 +81,11 @@ wins_get_console(void)
|
||||
ProfWin *
|
||||
wins_get_current(void)
|
||||
{
|
||||
return g_hash_table_lookup(windows, GINT_TO_POINTER(current));
|
||||
if (windows != NULL) {
|
||||
return g_hash_table_lookup(windows, GINT_TO_POINTER(current));
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
GList *
|
||||
|
||||
Reference in New Issue
Block a user