Bug 136374
Summary: | msgbox function in dialog adding addional blank lines | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Rob Landry <rlandry> | ||||||
Component: | dialog | Assignee: | Harald Hoyer <harald> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | dialog-1.0-20040731-2 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-10-19 20:29:59 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Rob Landry
2004-10-19 16:18:12 UTC
Created attachment 105452 [details]
suggested patch
appears to fix the issue for me; also resolves the extra trailing spaces
problems
patch applied in dialog-1.0-20040731-2 thanks, unfortunately I couldn't find the .i386 version so I just grabbed the .src rpm and rebuilt it local (though x86_64, ppc, ppc64, ia64, etc. all appeared to be there). Unfortunately I noticed a bad side effect of my patch :( It now always prints the percent even when the text fits. I'll attach a patch that corrects that in just a bit. Having the percent isn't catostrophic it's just cleaner not to have it where it's not needed. I also noticed --textbox puts ()'s not spaces around the percent as I added, though it's otherwise completely different code. Created attachment 105465 [details]
hides percent when not needed
corrects condition where the percert is always displayed even though the text
fit
patch applied in dialog-1.0-20040731-3 |