/* Purpose: Low level text formatting -BEN- */
#include "z-form.h"
-
#include "z-util.h"
#include "z-virt.h"
/* Save the character */
buf[n++] = *s++;
-
- /* Continue */
continue;
}
/* Skip the "%" */
s++;
-
- /* Continue */
continue;
}
/* Skip the "n" */
s++;
-
- /* Continue */
continue;
}
/* Skip the "r" */
s++;
-
- /* Continue */
continue;
}
/* Format the argument */
sprintf(tmp, "%c", arg);
- /* Done */
break;
}
sprintf(tmp, aux, arg);
}
- /* Done */
break;
}
}
- /* Done */
break;
}
/* Format the argument */
sprintf(tmp, aux, arg);
- /* Done */
break;
}
/* Format the argument */
sprintf(tmp, aux, arg);
- /* Done */
break;
}
/* Format the argument */
sprintf(tmp, aux, arg);
- /* Done */
break;
}
/* Format the "user data" */
sprintf(tmp, aux, arg);
- /* Done */
break;
}
- /* Oops */
default:
{
/* Error -- illegal format char */
if (islower(tmp[q]))
tmp[q] = (char)toupper(tmp[q]);
- /* Done */
break;
}
}