From d1c96190e9549267782704eab991bf304d3f86e2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 16 Jan 2013 18:10:30 -0600 Subject: Revert "fix bug 788: behaviour of source_context for '-f -'" This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc. --- src/error.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/error.cc') diff --git a/src/error.cc b/src/error.cc index d7e92daa..58339db7 100644 --- a/src/error.cc +++ b/src/error.cc @@ -84,7 +84,7 @@ string source_context(const path& file, const string& prefix) { const std::streamoff len = end_pos - pos; - if (! len || file == path("/dev/stdin") || file.empty()) + if (! len || file == path("/dev/stdin")) return _(""); assert(len > 0); -- cgit v1.2.3