]> git.pld-linux.org Git - packages/enigma.git/blame - 0004-src-lev-Proxy.cc-fix-check-for-basic_ifstream-s-read.patch
- added gettext patch (add external arg to allow gettext 0.20+)
[packages/enigma.git] / 0004-src-lev-Proxy.cc-fix-check-for-basic_ifstream-s-read.patch
CommitLineData
196ffd0a
JR
1From 016017c5afa803ffe79e5b667a9a0a8377ea098e Mon Sep 17 00:00:00 2001
2From: Michal Schmidt <mschmidt@redhat.com>
3Date: Mon, 22 Feb 2016 17:24:47 +0100
4Subject: [PATCH 4/4] src/lev/Proxy.cc: fix check for basic_ifstream's
5 readiness
6
7---
8 src/lev/Proxy.cc | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/src/lev/Proxy.cc b/src/lev/Proxy.cc
12index 6d58c0ba9a..69f54a20b8 100644
13--- a/src/lev/Proxy.cc
14+++ b/src/lev/Proxy.cc
15@@ -933,7 +933,7 @@ namespace enigma { namespace lev {
16 } else if (haveLocalCopy) {
17 // plain file
18 basic_ifstream<char> ifs(absExtPath.c_str(), ios::binary | ios::in);
19- if (ifs != NULL)
20+ if (ifs)
21 Readfile(ifs, extCode);
22 else
23 haveLocalCopy = false;
24--
252.5.0
26
This page took 0.093081 seconds and 4 git commands to generate.