/* <<< Start of information >>>                                       */
/* ------------------------------------------------------------------ */
/* This file is part of the xwatch program. Copyright (C) Karel Kubat */
/* 1995. All rights reserved. You are permitted to redistribute this  */
/* package, if you include all unmodified sources and all unmodified  */
/* documentation (including this text). You are NOT permitted to      */
/* distribute files of this package with modifications. See the file  */
/* COPYING for more information. When in doubt, mail me at            */
/* karel@icce.rug.nl.                                                 */
/* ------------------------------------------------------------------ */
/* <<< End of information >>>                                         */

#include "xwatch.h"

void warning (char *fmt, ...)
{
    char
	buf [1000];
    va_list
	args;

    va_start (args, fmt);
    strcpy (buf, "@i ");				/* italics */ 
    vsprintf (buf + 3, fmt, args);
    strcat (buf, "\n");
    addline (buf, foregr);

    flushline ();
}
