Skip to content

Commit 00d0553

Browse files
Adjust Sys(3) result
1 parent 3b21245 commit 00d0553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runtime/XSharp.VFP/SystemFunctions.prg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FUNCTION Sys(nSetting, uNewValue, uContextParam3) AS USUAL CLIPPER
1414
SWITCH nSetting
1515

1616
CASE 0 // Network machine information.
17-
retVal := __GetEnv("USERDOMAIN") + " # " + __GetEnv("USERNAME")
17+
retVal := __GetEnv("COMPUTERNAME") + " # " + __GetEnv("USERNAME")
1818

1919
CASE 1 // Returns the current system date as a Julian day number character string.
2020
VAR currentDate := DateTime.Now

0 commit comments

Comments
 (0)