aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorpekdon <pekdon>2002-03-29 21:47:58 (GMT)
committerpekdon <pekdon>2002-03-29 21:47:58 (GMT)
commit81fb2b9fb6dadca689cf3d553fd7de5937a4509a (patch)
tree1f355a2295e2bd27a9315578594d3ebdd6deeddd /src/Toolbar.cc
parentb7ca5d74665b0563c6f7feb53e29f64523d1c232 (diff)
downloadfluxbox_pavel-81fb2b9fb6dadca689cf3d553fd7de5937a4509a.zip
fluxbox_pavel-81fb2b9fb6dadca689cf3d553fd7de5937a4509a.tar.bz2
Oopss.. typo
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index efaefee..11fea4d 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.15 2002/03/23 15:14:45 fluxgen Exp $ 25// $Id: Toolbar.cc,v 1.16 2002/03/29 21:47:58 pekdon Exp $
26 26
27// stupid macros needed to access some functions in version 2 of the GNU C 27// stupid macros needed to access some functions in version 2 of the GNU C
28// library 28// library
@@ -238,8 +238,8 @@ void Toolbar::reconfigure(void) {
238 frame.width = 238 frame.width =
239 (screen->getHeadWidth(head) * screen->getToolbarWidthPercent() / 100); 239 (screen->getHeadWidth(head) * screen->getToolbarWidthPercent() / 100);
240 } else { 240 } else {
241 head_w = screen->getHeadWidth(head); 241 head_w = screen->getWidth();
242 head_h = screen->getHeadHeight(head); 242 head_h = screen->getHeight();
243 243
244 frame.width = screen->getWidth() * screen->getToolbarWidthPercent() / 100; 244 frame.width = screen->getWidth() * screen->getToolbarWidthPercent() / 100;
245 } 245 }