summaryrefslogtreecommitdiff
path: root/print/sioyek/files/patch-pdf__viewer_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'print/sioyek/files/patch-pdf__viewer_utils.cpp')
-rw-r--r--print/sioyek/files/patch-pdf__viewer_utils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/sioyek/files/patch-pdf__viewer_utils.cpp b/print/sioyek/files/patch-pdf__viewer_utils.cpp
index f5214ad89f03..0586ac3c20fa 100644
--- a/print/sioyek/files/patch-pdf__viewer_utils.cpp
+++ b/print/sioyek/files/patch-pdf__viewer_utils.cpp
@@ -1,11 +1,11 @@
---- pdf_viewer/utils.cpp.orig 2023-03-04 13:46:24 UTC
+--- pdf_viewer/utils.cpp.orig 2025-05-13 14:36:40 UTC
+++ pdf_viewer/utils.cpp
-@@ -1194,7 +1194,7 @@ void sleep_ms(unsigned int ms) {
+@@ -1548,7 +1548,7 @@ void sleep_ms(unsigned int ms) {
#ifdef Q_OS_WIN
- Sleep(ms);
+ Sleep(ms);
#else
-- struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 };
-+ struct timespec ts = { static_cast<time_t>(ms / 1000), static_cast<long>((ms % 1000) * 1000 * 1000) };
- nanosleep(&ts, NULL);
+- struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 };
++ struct timespec ts = { static_cast<time_t>(ms / 1000), static_cast<long>((ms % 1000) * 1000 * 1000) };
+ nanosleep(&ts, NULL);
#endif
}