diff --git a/content/buffers.js b/content/buffers.js index b3092c5f..e0e8aadc 100644 --- a/content/buffers.js +++ b/content/buffers.js @@ -660,7 +660,11 @@ vimperator.Buffer = function () //{{{ // is null, the last used string is used again switchTo: function (buffer, allowNonUnique, count, reverse) { - if (buffer != null) + if (buffer == "") + { + return; + } + else if (buffer != null) { // store this command, so it can be repeated with "B" lastBufferSwitchArgs = buffer;