FreeBSD Bugzilla – Attachment 77304 Details for
Bug 111342
[patch] x11/slim theme parse error under 7-CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-cfg.cpp
patch-cfg.cpp (text/plain), 575 bytes, created by
Henrik Brix Andersen
on 2007-04-07 03:50:04 UTC
(
hide
)
Description:
patch-cfg.cpp
Filename:
MIME Type:
Creator:
Henrik Brix Andersen
Created:
2007-04-07 03:50:04 UTC
Size:
575 bytes
patch
obsolete
>--- cfg.cpp.orig Sat Apr 7 03:45:30 2007 >+++ cfg.cpp Sat Apr 7 03:46:20 2007 >@@ -211,8 +211,7 @@ int Cfg::absolutepos(const string& posit > int n = -1; > n = position.find("%"); > if (n>0) { // X Position expressed in percentage >- const char* tmp = position.substr(0, n).c_str(); >- int result = (max*string2int(tmp)/100) - (width / 2); >+ int result = (max*string2int(position.substr(0, n).c_str())/100) - (width / 2); > return result < 0 ? 0 : result ; > } else { // Absolute X position > return string2int(position.c_str());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 111342
: 77304