dotfiles/nixos/overlays/fixup-wine/00-remove-ellipse-assert.patch

13 lines
672 B
Diff

diff --git a/dlls/user32/text.c b/dlls/user32/text.c
index 1896627..a114773 100644
--- a/dlls/user32/text.c
+++ b/dlls/user32/text.c
@@ -743,7 +743,7 @@ static const WCHAR *TEXT_NextLineW( HDC hdc, const WCHAR *str, int *count,
/* If we are here after a path ellipsification it must be
* because even the ellipsis itself didn't fit.
*/
- assert (pellip->under == 0 && pellip->after == 0);
+ //assert (pellip->under == 0 && pellip->after == 0);
pellip->before = before;
pellip->len = len_ellipsis;
/* pellip->after remains as zero as does