From e921be65b427d1473693ad89d469c4e15449b773 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Tue, 6 Mar 2012 13:53:39 +0100 Subject: [PATCH] Fix variable name in code example --- docs/01-telldus-core.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/01-telldus-core.dox b/docs/01-telldus-core.dox index d7df9100..b5987450 100644 --- a/docs/01-telldus-core.dox +++ b/docs/01-telldus-core.dox @@ -44,7 +44,7 @@ * \code * int intNumberOfDevices = tdGetNumberOfDevices(); * for (int i = 0; i < intNumberOfDevices; i++) { - * int id = tdGetDeviceId( index ); + * int id = tdGetDeviceId( i ); * char *name = tdGetName( id ); * printf("%d\t%s\n", id, name); * tdReleaseString(name);