Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Check if GUID is not empty before comparing (lib)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Feb 15, 2018
1 parent eba6221 commit 9220150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4011,6 +4011,7 @@ void Context::displayPomodoro() {
return;
}
if (pomodoro_break_entry_ != nullptr
&& !current_te->GUID().empty()
&& current_te->GUID().compare(
pomodoro_break_entry_->GUID()) == 0) {
return;
Expand Down

0 comments on commit 9220150

Please sign in to comment.