cv7
This commit is contained in:
parent
7e9817f094
commit
a5c51c9f05
@ -14,7 +14,7 @@ struct tree* read_tree(int* counter) {
|
||||
char buffer[SIZE];
|
||||
memset(buffer, 0, SIZE);
|
||||
char* r = fgets(buffer, SIZE, stdin);
|
||||
if(r == NULL){
|
||||
if (buffer[0] == '\n'){
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
printf("Chybna databaza\n");
|
||||
return 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user