Hi, I'm not sure if it's really a bug. It occured while using Microcal Origin. Wine crashes after every call of an analysis function, e.g. Peak fitting. ChangeLog: * dlls/user/text.c - I added some braces to prevent a division by zero error ? patch.diff ? dlls/user/text_orig.c Index: dlls/user/text.c =================================================================== RCS file: /home/wine/wine/dlls/user/text.c,v retrieving revision 1.43 diff -u -r1.43 text.c --- dlls/user/text.c 8 Jan 2003 21:09:26 -0000 1.43 +++ dlls/user/text.c 29 Jan 2003 12:41:14 -0000 @@ -1244,7 +1244,7 @@ else if (cTabStops > 0) tabPos = nTabOrg + *lpTabPos; else - tabPos = nTabOrg + ((x + extent.cx - nTabOrg) / defWidth + 1) * defWidth; + tabPos = nTabOrg + ((x + extent.cx - nTabOrg) / (defWidth + 1)) * defWidth; if (fDisplayText) { RECT r;