Changeset 360 for Common


Ignore:
Timestamp:
May 7, 2012, 10:32:41 AM (12 years ago)
Author:
chronos
Message:
 
Location:
Common
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • Common/Common.pas

    r343 r360  
    99uses
    1010  StopWatch, UCommon, UDebugLog, UDelay, UPrefixMultiplier, UURI, UThreading,
    11   UMemory, UResetableThread, UPool, ULastOpenedList, URegistry,
     11  UMemory, UResetableThread, UPool, ULastOpenedList, URegistry, 
    1212  LazarusPackageIntf;
    1313
  • Common/UCommon.pas

    r358 r360  
    4949function SplitString(var Text: string; Count: Word): string;
    5050function GetBit(Variable: QWord; Index: Byte): Boolean;
    51 procedure SetBit(var Variable: QWord; Index: Byte; State: Boolean);
    52 procedure SetBit(var Variable: Cardinal; Index: Byte; State: Boolean);
    53 procedure SetBit(var Variable: Word; Index: Byte; State: Boolean);
     51procedure SetBit(var Variable: QWord; Index: Byte; State: Boolean); overload;
     52procedure SetBit(var Variable: Cardinal; Index: Byte; State: Boolean); overload;
     53procedure SetBit(var Variable: Word; Index: Byte; State: Boolean); overload;
    5454function AddLeadingZeroes(const aNumber, Length : integer) : string;
    5555function LastPos(const SubStr: String; const S: String): Integer;
     
    413413procedure OpenFileInShell(FileName: string);
    414414begin
    415   ExecuteProgram('cmd.exe /c start ' + FileName);
     415  ExecuteProgram('cmd.exe /c start "' + FileName + '"');
    416416end;
    417417
Note: See TracChangeset for help on using the changeset viewer.