summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-06-17 15:15:19 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-06-17 15:15:19 +0200
commit618c8d577bdfdf0155fda659560801cf19a00650 (patch)
tree78d580b531577b03625b4a584c44aeddc8a25576 /src
parent351d6215a21b53c4c082523d2406814916e0fd6a (diff)
downloadfpGUI-618c8d577bdfdf0155fda659560801cf19a00650.tar.xz
minor code formatting changes
Diffstat (limited to 'src')
-rw-r--r--src/corelib/fpg_utils.pas6
-rw-r--r--src/corelib/x11/fpg_netlayer_x11.pas2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/fpg_utils.pas b/src/corelib/fpg_utils.pas
index 822051a5..97adb7db 100644
--- a/src/corelib/fpg_utils.pas
+++ b/src/corelib/fpg_utils.pas
@@ -28,10 +28,10 @@ uses
// *** Platform specific functions ***
-function fpgToOSEncoding(aString: TfpgString): string;
-function fpgFromOSEncoding(aString: string): TfpgString;
+function fpgToOSEncoding(aString: TfpgString): string;
+function fpgFromOSEncoding(aString: string): TfpgString;
procedure fpgOpenURL(const aURL: TfpgString);
-function fpgFileSize(const AFilename: TfpgString): integer;
+function fpgFileSize(const AFilename: TfpgString): integer;
// *** Common functions for all platforms ***
diff --git a/src/corelib/x11/fpg_netlayer_x11.pas b/src/corelib/x11/fpg_netlayer_x11.pas
index bd104dae..1294a1aa 100644
--- a/src/corelib/x11/fpg_netlayer_x11.pas
+++ b/src/corelib/x11/fpg_netlayer_x11.pas
@@ -1076,7 +1076,7 @@ var
Number: PLongWord;
begin
Result := FAtomSupported[naNUMBER_OF_DESKTOPS]
- and WindowGetPropertyCardinal(FRootWindow, FNetAtoms[naNUMBER_OF_DESKTOPS], Count, Number);
+ and WindowGetPropertyCardinal(FRootWindow, FNetAtoms[naNUMBER_OF_DESKTOPS], Count, Number);
if not Result then Exit;
Desktops := PLongInt(Number)^;