Compare commits
No commits in common. "602da76bcaa3d781a81c517c982beb5b1704817f" and "39493a82c5d9cfabda732a1020b43a1ed3770679" have entirely different histories.
602da76bca
...
39493a82c5
8
src/ui.c
8
src/ui.c
|
@ -54,7 +54,7 @@ int main(void) {
|
||||||
ssize_t nnread;
|
ssize_t nnread;
|
||||||
switch (choice) {
|
switch (choice) {
|
||||||
case 1:
|
case 1:
|
||||||
printf(" Geben sie das gewünschte Fach ein (Name): \n");
|
printf(" Geben sie das gewünschte Fach ein: \n");
|
||||||
time_t now = time(NULL);
|
time_t now = time(NULL);
|
||||||
struct tm lc;
|
struct tm lc;
|
||||||
localtime_r(&now, &lc);
|
localtime_r(&now, &lc);
|
||||||
|
@ -72,7 +72,7 @@ int main(void) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf(" Gib die Prioritaet des Faches an(1-10): \n");
|
printf(" Gib die Prioritaet des Faches an: \n");
|
||||||
if (scanf("%d", &taskpriority) != 1) {
|
if (scanf("%d", &taskpriority) != 1) {
|
||||||
printf("Ungueltige Eingabe.\n");
|
printf("Ungueltige Eingabe.\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -96,8 +96,8 @@ int main(void) {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
printf("Geben Sie die zur verfuegung stehende Zeit für die Faecher an "
|
printf(
|
||||||
"(geplante arbeitsstunden huete): \n");
|
"Geben Sie die zur verfuegung stehende Zeit für die Faecher an: \n");
|
||||||
scanf("%d", &taskspare);
|
scanf("%d", &taskspare);
|
||||||
// if list exists use it to generate plan
|
// if list exists use it to generate plan
|
||||||
if (listT != NULL) {
|
if (listT != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue