Skip to content

Commit

Permalink
Swapped around dirup and curdir
Browse files Browse the repository at this point in the history
+ made files purple
  • Loading branch information
suchmememanyskill committed Aug 16, 2019
1 parent cd786af commit 8ba5400
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion source/meme/graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void _printwithhighlight(int offset, int folderamount, char *items[], int highli
if(i == highlight - 1) gfx_printf("\n%k%p%s%k%p", COLOR_DEFAULT, COLOR_WHITE, temp, COLOR_WHITE, COLOR_DEFAULT);
else if ((i == 0 || i == 1) && offset == 0) gfx_printf("%k\n%s%k", COLOR_ORANGE, temp, COLOR_WHITE);
else if (muhbits[i+offset] & OPTION1) gfx_printf("\n%s", temp);
else gfx_printf("%k\n%s%k", COLOR_BLUE, temp, COLOR_WHITE);
else gfx_printf("%k\n%s%k", COLOR_VIOLET, temp, COLOR_WHITE);

while(ret >= 0){
gfx_printf(" ");
Expand Down
8 changes: 4 additions & 4 deletions source/meme/mainfunctions.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ void sdexplorer(char *items[], unsigned int *muhbits){
value = fileexplorergui(items, muhbits, path, folderamount);

if (value == 1) {
if (strcmp("sd:/", path) == 0) break;
else removepartpath(path);
}
else if (value == 2) {
if (copymode != -1){
copywithpath(clipboard, path, copymode);
copymode = -1;
}
}
else if (value == 2) {
if (strcmp("sd:/", path) == 0) break;
else removepartpath(path);
}
else {
if(muhbits[value - 1] & OPTION1) addpartpath(path, items[value - 1]);
else {
Expand Down
4 changes: 2 additions & 2 deletions source/meme/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ int readfolder(char *items[], unsigned int *muhbits, const char *path){
DIR dir;
FILINFO fno;
int i = 2;
addchartoarray("Clipboard -> current folder", items, 0);
addchartoarray("Current folder -> One folder up", items, 1);
addchartoarray("Current folder -> One folder up", items, 0);
addchartoarray("Clipboard -> current folder", items, 1);
_mallocandaddfolderbit(muhbits, 0, true);
_mallocandaddfolderbit(muhbits, 1, true);

Expand Down

0 comments on commit 8ba5400

Please sign in to comment.