From: <tj...@us...> - 2007-07-12 13:33:59
|
Revision: 8070 http://svn.sourceforge.net/alleg/?rev=8070&view=rev Author: tjaden Date: 2007-07-12 06:33:55 -0700 (Thu, 12 Jul 2007) Log Message: ----------- Mark Keller reported two minor mistakes in examples in the manual. Modified Paths: -------------- allegro/branches/4.2/docs/src/allegro._tx Modified: allegro/branches/4.2/docs/src/allegro._tx =================================================================== --- allegro/branches/4.2/docs/src/allegro._tx 2007-07-11 15:53:11 UTC (rev 8069) +++ allegro/branches/4.2/docs/src/allegro._tx 2007-07-12 13:33:55 UTC (rev 8070) @@ -3295,7 +3295,7 @@ install_keyboard(); /* We are not 100% sure we can read the keyboard yet! */ if (set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0) != 0) - abort_on_error("Couldn't set graphic mode!") + abort_on_error("Couldn't set graphic mode!"); /* Now we are guaranteed to be able to read the keyboard. */ readkey();<endblock> @@ -9227,7 +9227,7 @@ @shortdesc Loads a sample from a Creative Labs VOC file. Loads a sample from a Creative Labs VOC file. Example: <codeblock> - SAMPLE *sample = load_wav("alarm.wav"); + SAMPLE *sample = load_voc("alarm.voc"); if (!sample) abort_on_error("Couldn't alert user!");<endblock> @retval This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |