mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Fixed bug in funcs.c -- hebdate function ignored aflag parameter if there
were 5 arguments.
This commit is contained in:
4
funcs.c
4
funcs.c
@@ -10,7 +10,7 @@
|
||||
/* */
|
||||
/***************************************************************/
|
||||
|
||||
static char const RCSID[] = "$Id: funcs.c,v 1.1 1996-03-27 03:25:56 dfs Exp $";
|
||||
static char const RCSID[] = "$Id: funcs.c,v 1.2 1996-03-30 04:00:29 dfs Exp $";
|
||||
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
@@ -1719,7 +1719,7 @@ static int FHebdate()
|
||||
if (adarbehave > 2) return E_2HIGH;
|
||||
} else adarbehave = 0;
|
||||
|
||||
if (Nargs == 4) {
|
||||
if (Nargs >= 4) {
|
||||
if (ARG(3).type != INT_TYPE) return E_BAD_TYPE;
|
||||
jahr = ARG(3).v.val;
|
||||
if (jahr < 0) return E_2LOW;
|
||||
|
||||
2
test.cmp
2
test.cmp
@@ -1,7 +1,5 @@
|
||||
# Test file for REMIND
|
||||
#
|
||||
# $Id: test.cmp,v 1.1 1996-03-27 03:26:11 dfs Exp $
|
||||
#
|
||||
# Use this file to test the date calculation routines
|
||||
# of the REMIND program by typing:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user