aboutsummaryrefslogtreecommitdiff
path: root/dw/image.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-05-27 13:27:11 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-05-27 13:27:11 -0400
commit037c25162ba7a36e600f4e1366a206e4abf05020 (patch)
tree729c706e72c8d9b4a21e13bccde27195da8efee2 /dw/image.cc
parent9b72578eab16832c7bf70984fb528339a3994e32 (diff)
Make sources fit in 80 columns
Diffstat (limited to 'dw/image.cc')
-rw-r--r--dw/image.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/image.cc b/dw/image.cc
index 23e2dc84..827cd753 100644
--- a/dw/image.cc
+++ b/dw/image.cc
@@ -315,8 +315,8 @@ bool Image::buttonPressImpl (core::EventButton *event)
{
bool ret = false;
- currLink = mapList? mapList->link (mapKey, contentX(event),contentY(event)):
- getStyle()->x_link;
+ currLink = mapList ? mapList->link(mapKey,contentX(event),contentY(event)) :
+ getStyle()->x_link;
if (event->button == 3){
(void)layout->emitLinkPress(this, currLink, getStyle()->x_img, -1, -1,
event);
@@ -330,7 +330,7 @@ bool Image::buttonPressImpl (core::EventButton *event)
bool Image::buttonReleaseImpl (core::EventButton *event)
{
- currLink = mapList ? mapList->link (mapKey, contentX(event),contentY(event)):
+ currLink = mapList ? mapList->link(mapKey,contentX(event),contentY(event)) :
getStyle()->x_link;
if (clicking) {
int x = isMap ? contentX(event) : -1;