nico-lab / beer-media-server2

Automatically exported from code.google.com/p/beer-media-server2
0 stars 0 forks source link

数字順のソートを追加 #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
数字順のソートをしたいとの要望があったようなので、機��
�追加してみました

function StrCmpLogicalW(psz1, psz2: PWideChar): Integer; stdcall; external 
'shlwapi.dll';

TMediaFileList.DoCompareTextに以下を追加

      7: Result:= StrCmpLogicalW(PWideChar(WideString(path1)), PWideChar(WideString(path2)));
      8: Result:= StrCmpLogicalW(PWideChar(WideString(path2)), PWideChar(WideString(path1)));

Original issue reported on code.google.com by pon...@gmail.com on 15 Aug 2013 at 7:30