From 14aafa21ece5d1ab8f0df87580861077b16a8b7d Mon Sep 17 00:00:00 2001 From: Igor Dzuro Date: Fri, 27 Mar 2020 05:20:10 +0100 Subject: [PATCH] wtf --- du3/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/du3/program.c b/du3/program.c index 51482cc..8dc819c 100644 --- a/du3/program.c +++ b/du3/program.c @@ -63,14 +63,14 @@ int main() { char *retval = fgets(buffer, sizeof(buffer), stdin); if (retval == 0) { - puts("Neplatny datum"); + puts("Nespravny datum"); return 0; } retval = strptime(buffer, "%e.%m.%-Y", &tm); if (retval == 0 || datevalid(tm.tm_mday, tm.tm_mon + 1, tm.tm_year + 1900) == 0) { - puts("Neplatny datum"); + puts("Nespravny datum"); return 0; } @@ -78,7 +78,7 @@ int main() { tm.tm_mday += 7; if (mktime(&tm) == -1) { - puts("Neplatny datum"); + puts("Nespravny datum"); return 0; }