summaryrefslogtreecommitdiff
path: root/examples/gfx/helloworld
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gfx/helloworld')
-rw-r--r--examples/gfx/helloworld/helloworld.lpi5
-rw-r--r--examples/gfx/helloworld/helloworld.pas11
2 files changed, 6 insertions, 10 deletions
diff --git a/examples/gfx/helloworld/helloworld.lpi b/examples/gfx/helloworld/helloworld.lpi
index 66ec049a..ae62c3cf 100644
--- a/examples/gfx/helloworld/helloworld.lpi
+++ b/examples/gfx/helloworld/helloworld.lpi
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<CONFIG>
<ProjectOptions>
- <PathDelim Value="/"/>
+ <PathDelim Value="\"/>
<Version Value="5"/>
<General>
<Flags>
@@ -20,7 +20,7 @@
<RunParams>
<local>
<FormatVersion Value="1"/>
- <LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
+ <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
</local>
</RunParams>
<RequiredPackages Count="1">
@@ -38,6 +38,7 @@
</ProjectOptions>
<CompilerOptions>
<Version Value="5"/>
+ <PathDelim Value="\"/>
<CodeGeneration>
<Generate Value="Faster"/>
</CodeGeneration>
diff --git a/examples/gfx/helloworld/helloworld.pas b/examples/gfx/helloworld/helloworld.pas
index fa7d93ce..50504a95 100644
--- a/examples/gfx/helloworld/helloworld.pas
+++ b/examples/gfx/helloworld/helloworld.pas
@@ -90,15 +90,10 @@ end;
var
MainWindow: TMainWindow;
begin
- gApplication.Initialize;
-
+ GFApplication.Initialize;
MainWindow := TMainWindow.Create;
-
- gApplication.AddWindow(MainWindow);
-
+ GFApplication.AddWindow(MainWindow);
MainWindow.Show;
-
- gApplication.Run;
+ GFApplication.Run;
end.
-