Skip to content

Commit

Permalink
Fix syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Nov 3, 2024
1 parent 8462fd2 commit fb36afb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,19 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
} else {
start_monitoring(FOLDER_PATH);
}
break;
}
break;

case WM_DESTROY:
PostQuitMessage(0);
return 0;
}
}

return DefWindowProc(hwnd, uMsg, wParam, lParam);
}


void stop_monitoring()
{
running = false;
Expand Down

0 comments on commit fb36afb

Please sign in to comment.