Skip to content
Permalink
Browse files

Some fix for latest dmd, druntime and phobos.

  • Loading branch information...
Rayerd committed Jan 13, 2015
1 parent 0be56d6 commit a00bffae52694c11114aa2748bc9f207411c684d
Showing with 5 additions and 4 deletions.
  1. +2 −2 win32/dfl/filedialog.d
  2. +1 −1 win32/dfl/internal/wincom.d
  3. +2 −1 win32/dfl/listbox.d
@@ -243,7 +243,7 @@ abstract class FileDialog: CommonDialog // docmain
if(dfl.internal.utf.useUnicode)
{
str.sw ~= dfl.internal.utf.toUnicode(filterString[starti .. i]);
str.sw ~= "\0";
str.sw ~= "\0"w;
}
else
{
@@ -267,7 +267,7 @@ abstract class FileDialog: CommonDialog // docmain
if(dfl.internal.utf.useUnicode)
{
str.sw ~= dfl.internal.utf.toUnicode(filterString[starti .. i]);
str.sw ~= "\0\0";
str.sw ~= "\0\0"w;

ofnw.lpstrFilter = str.sw.ptr;
}
@@ -47,7 +47,7 @@ version(_dfl_needcom)
DWORD Data1;
WORD Data2;
WORD Data3;
BYTE Data4[8];
BYTE[8] Data4;
}

enum
@@ -10,6 +10,7 @@ private import dfl.internal.dlib;
private import dfl.internal.winapi, dfl.control, dfl.base, dfl.application;
private import dfl.drawing, dfl.event, dfl.collections;

private import std.algorithm;

private extern(C) void* memmove(void*, void*, size_t len);

@@ -979,7 +980,7 @@ class ListBox: ListControl // docmain
{
Object[] itemscopy;
itemscopy = icollection._items.dup;
itemscopy.sort;
std.algorithm.sort(itemscopy);

items.clear();

0 comments on commit a00bffa

Please sign in to comment.
You can’t perform that action at this time.