Skip to content

Commit 5d51670

Browse files
committed
fixed a couple of small issues, small improvement in readme
1 parent e6ebf58 commit 5d51670

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Ncurses File Manager for linux
2525
* Powermanagement inhibition while processing a job(eg: while pasting a file) to avoid data loss. It relies upon systemd/logind (sd-bud API), so it requires a systemd booted system.
2626
It is switched off by default. You can enable this feature from the config file or with "--inhibit=1" cmdline switch.
2727
* It can mount your external usb drives/sticks through sd-bus and udisks2. Press 'm' to get a list of mountable drives (if any), then type your chosen drive to mount it.
28-
* It can install your distro package files: pressing enter on a package file will ask user if he wants to install the package. It relies upon packagekit.
28+
* It can install your distro package files: pressing enter on a package file will ask user if he wants to install the package. It relies upon packagekit, so it should be distro agnostic.
2929

3030
**IT DOES NOT SUPPORT TERMINAL RESIZE**. It is meant to be used maximized, or from a tty.
3131

src/string_constants.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const char *helper_string[] = { "Enter to surf between folders or to open files
6161
"You can't close first tab. Use q to quit."};
6262

6363
#if defined(LIBUDEV_PRESENT) && (SYSTEMD_PRESENT)
64-
const char *device_mode_str = "Device tab. Choose your desired device to (un)mount it. q to quit.";
64+
const char *device_mode_str = "Choose your desired device to (un)mount it. q to quit.";
6565
#endif
6666
#ifdef SYSTEMD_PRESENT
6767
const char *bus_error = "Failed to open system bus";

src/ui_functions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ static void print_border_and_title(int win)
176176
{
177177
wborder(fm[win], '|', '|', '-', '-', '+', '+', '+', '+');
178178
if (sv.searching == 3 + win) {
179-
mvwprintw(fm[win], 0, 0, "Found file searching %.*s: ", width[active] - 1 - strlen("Found file searching : ") - strlen(search_tab_title), sv.searched_string);
179+
mvwprintw(fm[win], 0, 0, "Found file searching %.*s: ", width[win] - 1 - strlen("Found file searching : ") - strlen(search_tab_title), sv.searched_string);
180180
mvwprintw(fm[win], 0, width[win] - (strlen(search_tab_title) + 1), search_tab_title);
181181
}
182182
#if defined(LIBUDEV_PRESENT) && (SYSTEMD_PRESENT)
183183
else if (device_mode == 1 + win) {
184-
mvwprintw(fm[win], 0, 0, device_mode_str);
184+
mvwprintw(fm[win], 0, 0, "%.*s", width[win] - 1, device_mode_str);
185185
}
186186
#endif
187187
else {

0 commit comments

Comments
 (0)