summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas.h
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2013-04-04 11:00:53 -0700
committerRafael Antognolli <rafael.antognolli@intel.com>2013-04-04 15:26:02 -0300
commit5b8ce3026f93d49d8c725a4bbccbc0fef2c1fd9f (patch)
tree0992485903bae45fad58230419f83c3dfd27f3ea /src/lib/evas/Evas.h
parent2da15ced6540799ae0e3109cae8dfefc73a6aa00 (diff)
evas: fix documentation sample code format specifiers
%f causes 0.0000 to always be printed... changed to %d to get the desired/correct output result. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'src/lib/evas/Evas.h')
-rw-r--r--src/lib/evas/Evas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h
index 21d6be1..2548b18 100644
--- a/src/lib/evas/Evas.h
+++ b/src/lib/evas/Evas.h
@@ -2265,7 +2265,7 @@ EAPI void evas_pointer_output_xy_get(const Evas *e, int *x, int *y)
2265 * Evas_Coord mouse_x, mouse_y; 2265 * Evas_Coord mouse_x, mouse_y;
2266 * 2266 *
2267 * evas_pointer_output_xy_get(evas, &mouse_x, &mouse_y); 2267 * evas_pointer_output_xy_get(evas, &mouse_x, &mouse_y);
2268 * printf("Mouse is at canvas position %f, %f\n", mouse_x, mouse_y); 2268 * printf("Mouse is at canvas position %d, %d\n", mouse_x, mouse_y);
2269 * @endcode 2269 * @endcode
2270 */ 2270 */
2271EAPI void evas_pointer_canvas_xy_get(const Evas *e, Evas_Coord *x, Evas_Coord *y) EINA_ARG_NONNULL(1); 2271EAPI void evas_pointer_canvas_xy_get(const Evas *e, Evas_Coord *x, Evas_Coord *y) EINA_ARG_NONNULL(1);