aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-09-18 13:09:44 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-09-18 13:09:44 +0000
commitf91c2df1fb086ef2f27a4ec7189f29865523df80 (patch)
tree6f880984c140a5508b25fd09aa0c6206f9b948cd /editors
parente50f4604249f59ce7ccf58ed1a2509880211ee2b (diff)
downloadports-f91c2df1fb086ef2f27a4ec7189f29865523df80.tar.gz
ports-f91c2df1fb086ef2f27a4ec7189f29865523df80.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/fxite/files/patch-fxsleep15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/fxite/files/patch-fxsleep b/editors/fxite/files/patch-fxsleep
new file mode 100644
index 000000000000..1e67f061041d
--- /dev/null
+++ b/editors/fxite/files/patch-fxsleep
@@ -0,0 +1,15 @@
+--- src/luafuncs.cpp.orig 2013-09-18 14:19:18.000000000 +0200
++++ src/luafuncs.cpp 2013-09-18 14:19:36.000000000 +0200
+@@ -942,10 +942,10 @@
+ ms=ms%1000;
+ for (int i=0; i<secs; i++) { // Just sleep for one second at a time, to give user a chance to cancel
+ if (!breathe(L)) { return 0; }
+- fxsleep(1000000);
++ FXThread::sleep(1000000);
+ }
+ if (!breathe(L)) { return 0; }
+- fxsleep(ms*1000);
++ FXThread::sleep(ms*1000);
+ return 0;
+ }
+