Skip to content
Snippets Groups Projects
Commit 31a66f30 authored by Lars Kanis's avatar Lars Kanis
Browse files

Merge branch '1.6' of github.com:larskanis/fxruby into 1.6

parents a5055a48 22bce990
No related branches found
No related tags found
No related merge requests found
......@@ -388,7 +388,7 @@ module Fox
# clipboard back into a Ruby string.
#
def Fox.fxdecodeStringData(data)
if /mswin/ =~ PLATFORM
if /cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM
data.chop
else
data
......@@ -403,7 +403,7 @@ module Fox
# appropriate for the current platform.
#
def Fox.fxencodeStringData(str)
if /mswin/ =~ PLATFORM
if /cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM
str + "\0"
else
str
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment