diff --git a/nanovega.d b/nanovega.d index 0d3a7c6..66d5511 100644 --- a/nanovega.d +++ b/nanovega.d @@ -9213,7 +9213,7 @@ public int fonsAddFont (FONScontext* stash, const(char)[] name, const(char)[] pa } catch (Exception e) { // oops; sorry } - return FONS_INVALID; + //return FONS_INVALID; } // first try direct path diff --git a/simpledisplay.d b/simpledisplay.d index 3b2b641..19eeec2 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -1134,9 +1134,9 @@ TrueColorImage trueColorImageFromNativeHandle(NativeWindowHandle handle, int wid // I just need to BitBlt that shit... BUT WAIT IT IS ALREADY IN A DIB!!!!!!! } else static assert(0); - } return null; + } } /++