Commit 64dcde06 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(create_text): Use FALSE instead of 0 as Bool constant.

(create_anonymous_text): Use TRUE instead of 1 as Bool constant.
parent 36c11aa1
/* /*
* $Id: text.c,v 0.42 1996/07/28 15:43:23 ceder Exp $ * $Id: text.c,v 0.43 1996/07/28 15:50:32 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association. * Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* All atomic calls that deals with texts. * All atomic calls that deals with texts.
*/ */
static char *rcsid = "$Id: text.c,v 0.42 1996/07/28 15:43:23 ceder Exp $"; static char *rcsid = "$Id: text.c,v 0.43 1996/07/28 15:50:32 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -1929,7 +1929,7 @@ create_text(const String message, ...@@ -1929,7 +1929,7 @@ create_text(const String message,
/* Check all misc-items */ /* Check all misc-items */
if ( create_text_check_misc(&no_of_misc, misc, 0) != OK if ( create_text_check_misc(&no_of_misc, misc, FALSE) != OK
|| (text = cached_create_text( message )) == 0) || (text = cached_create_text( message )) == 0)
{ {
return 0; return 0;
...@@ -2009,7 +2009,7 @@ create_anonymous_text(const String message, ...@@ -2009,7 +2009,7 @@ create_anonymous_text(const String message,
/* Check all misc-items */ /* Check all misc-items */
if ( create_text_check_misc(&no_of_misc, misc, 1) != OK if ( create_text_check_misc(&no_of_misc, misc, TRUE) != OK
|| (text = cached_create_text( message )) == 0) || (text = cached_create_text( message )) == 0)
{ {
return 0; return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment