summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 }