* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <GL/freeglut.h>
#include "freeglut_internal.h"
* A newline will simply translate the next character's insertion
* point back to the start of the line and down one line.
*/
- while( c = *string++ )
- if( string[c] == '\n' )
+ while( ( c = *string++) )
+ if( c == '\n' )
{
glBitmap ( 0, 0, 0, 0, -x, (float) -font->Height, NULL );
x = 0.0f;
if ( !string || ! *string )
return 0;
- while( c = *string++ )
+ while( ( c = *string++) )
{
if( c != '\n' )/* Not an EOL, increment length of line */
this_line_length += *( font->Characters[ c ]);
* A newline will simply translate the next character's insertion
* point back to the start of the line and down one line.
*/
- while( c = *string++ )
+ while( ( c = *string++) )
if( c < font->Quantity )
{
if( c == '\n' )
if ( !string || ! *string )
return 0;
- while( c = *string++ )
+ while( ( c = *string++) )
if( c < font->Quantity )
{
if( c == '\n' ) /* EOL; reset the length of this line */