summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-16 18:57:02 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-16 18:57:02 +0100
commite6ce5c34e610f27a6b0f7810918bf638c49c72d7 (patch)
tree026754ba96f4a3a8efc2bd6ca5b2347c329e198d /src/GipfelWidget.cxx
parentca4c449ba9f3a40f8ac2c79a48f3d31144a1fafe (diff)
various fixes
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r--src/GipfelWidget.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 0d92095..939eccc 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -678,16 +678,15 @@ GipfelWidget::handle(int event) {
}
int
-GipfelWidget::get_pixel(double a_view, double a_nick,
+GipfelWidget::get_pixel(double a_alph, double a_nick,
uchar *r, uchar *g, uchar *b) {
double px, py;
-
if (img == NULL) {
return 1;
}
- if (pan->get_coordinates(a_view, a_nick, &px, &py) != 0) {
+ if (pan->get_coordinates(a_alph, a_nick, &px, &py) != 0) {
return 1;
}