Skip to content

Commit

Permalink
update screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
yosmont committed Dec 29, 2022
1 parent 2ab0269 commit 152cb11
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Binary file modified screenshot/add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshot/better.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshot/classic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshot/gcfexample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

static void print_boxline(int len, char *str)
{
int len_two = (str)? ((strlen(str) % 2) == 1)?
((strlen(str) / 2) + 1) : (strlen(str) / 2) : 0;

//int len_two = (str)? ((strlen(str) % 2) == 1)?
// ((strlen(str) / 2) + 1) : (strlen(str) / 2) : 0;
int len_two = (str) ? (strlen(str) / 2) : 0;
if (str) {
printf("*");
for (int i = 0; i < ((len / 2) - len_two); i++)
Expand Down
6 changes: 3 additions & 3 deletions src/display_b.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

static void print_boxline(int len, char *str)
{
int len_two = (str)? ((strlen(str) % 2) == 1)?
((strlen(str) / 2) + 1) : (strlen(str) / 2) : 0;

//int len_two = (str)? ((strlen(str) % 2) == 1)?
// ((strlen(str) / 2) + 1) : (strlen(str) / 2) : 0;
int len_two = (str)? strlen(str) / 2 : 0;
if (str) {
printf("┌");
for (int i = 0; i < ((len / 2) - len_two); i++)
Expand Down

0 comments on commit 152cb11

Please sign in to comment.