Subversion Repositories planix.SVN

Compare Revisions

Ignore whitespace Rev 39 → Rev 40

/ports/trunk/unix/libterm/tputs.c
65,7 → 65,7
register int mspc10;
 
if (cp == 0)
return;
return 0;
 
/*
* Convert the number representing the delay.
105,9 → 105,9
* not comprehensible, then don't try to delay.
*/
if (i == 0)
return;
return 0;
if (ospeed <= 0 || ospeed >= (sizeof tmspc10 / sizeof tmspc10[0]))
return;
return 0;
 
/*
* Round up by a half a character frame,
120,4 → 120,6
i += mspc10 / 2;
for (i /= mspc10; i > 0; i--)
(*outc)(PC);
 
return 0;
}