antognolli pushed a commit to branch master.
commit 5b8ce3026f93d49d8c725a4bbccbc0fef2c1fd9f
Author: U. Artie Eoff <[email protected]>
Date: Thu Apr 4 11:00:53 2013 -0700
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 <[email protected]>
---
src/lib/evas/Evas.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
* Evas_Coord mouse_x, mouse_y;
*
* evas_pointer_output_xy_get(evas, &mouse_x, &mouse_y);
- * printf("Mouse is at canvas position %f, %f\n", mouse_x, mouse_y);
+ * printf("Mouse is at canvas position %d, %d\n", mouse_x, mouse_y);
* @endcode
*/
EAPI void evas_pointer_canvas_xy_get(const Evas *e, Evas_Coord
*x, Evas_Coord *y) EINA_ARG_NONNULL(1);
--
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html