2014-01-25 Chris Allegretta <chrisa@asty.org>
* src/winio.c (set_modified) - Check for a filename before we bother trying to lock git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4584 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
bac696a745
commit
d2f29d0243
|
@ -1,3 +1,6 @@
|
||||||
|
2014-01-25 Chris Allegretta <chrisa@asty.org>
|
||||||
|
* src/winio.c (set_modified) - Check for a filename before we bother trying to lock
|
||||||
|
|
||||||
2014-01-01 Chris Allegretta <chrisa@asty.org>
|
2014-01-01 Chris Allegretta <chrisa@asty.org>
|
||||||
* doc/texinfo/nano.texi - Change '@sp4' since makeinfo 5.1 hates the
|
* doc/texinfo/nano.texi - Change '@sp4' since makeinfo 5.1 hates the
|
||||||
lack of spacing. Fixes Savannah bug 40103 repored by flapane@Savannah.
|
lack of spacing. Fixes Savannah bug 40103 repored by flapane@Savannah.
|
||||||
|
|
|
@ -2260,7 +2260,9 @@ void set_modified(void)
|
||||||
titlebar(NULL);
|
titlebar(NULL);
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
if (ISSET(LOCKING)) {
|
if (ISSET(LOCKING)) {
|
||||||
if (openfile->lock_filename == NULL) {
|
if (!strcmp(openfile->filename, ""))
|
||||||
|
return;
|
||||||
|
else if (openfile->lock_filename == NULL) {
|
||||||
/* Translators: Try to keep this at most 80 characters. */
|
/* Translators: Try to keep this at most 80 characters. */
|
||||||
statusbar(_("Warning: Modifying a file which is not locked, check directory permission?"));
|
statusbar(_("Warning: Modifying a file which is not locked, check directory permission?"));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue