Replace concatenation with string interpolation

This commit is contained in:
Hyper_ 2024-05-13 17:16:49 -03:00
parent 0322a83882
commit 24933f5bb9

View file

@ -24,7 +24,7 @@ class WindowUtil
{ {
#if CAN_OPEN_LINKS #if CAN_OPEN_LINKS
#if linux #if linux
Sys.command('/usr/bin/xdg-open ' + targetUrl + ' &'); Sys.command('/usr/bin/xdg-open $targetUrl &');
#else #else
// This should work on Windows and HTML5. // This should work on Windows and HTML5.
FlxG.openURL(targetUrl); FlxG.openURL(targetUrl);