Bugzilla – Attachment 284147 Details for
Bug 492295
Xfig dies with FPE after zoom in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
patch to fix the problem reported
xfig.3.2.5-zoom_fpe.dif (text/plain), 539 bytes, created by
Libor Pechacek
on 2009-04-05 17:28:09 UTC
(
hide
)
Description:
patch to fix the problem reported
Filename:
MIME Type:
Creator:
Libor Pechacek
Created:
2009-04-05 17:28:09 UTC
Size:
539 bytes
patch
obsolete
>Index: xfig.3.2.5/w_rulers.c >=================================================================== >--- xfig.3.2.5.orig/w_rulers.c >+++ xfig.3.2.5/w_rulers.c >@@ -1149,7 +1149,7 @@ get_skip_prec(void) > /* look for values for current zoom */ > if ((display_zoomscale/appres.userscale <= rs->max_zoom) || > (rs->max_zoom == 0.0)) { >- skip = rs->skipt/appres.userscale; >+ skip = rs->skipt>appres.userscale ? rs->skipt/appres.userscale : 1; > skipx = skip * rs->skipx; > sprintf(precstr, "%%.%df", rs->prec); > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 492295
: 284147