Make sure we don't go below zero (for the case where _thaw gets called

an odd number of times).



SVN revision: 49418
This commit is contained in:
Christopher Michael 2010-06-03 17:35:41 +00:00
parent c7a8e2ecf3
commit 7ef8b28341
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ EAPI void
e_acpi_events_thaw(void)
{
_e_acpi_events_frozen--;
if (_e_acpi_events_frozen < 0) _e_acpi_events_frozen = 0;
}
/* local functions */