strstream to sstream and minor fix with the a warning
fluxgen fluxgen
1 files changed,
5 insertions(+),
3 deletions(-)
jump to
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.57 2002/05/08 10:14:51 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.58 2002/05/17 11:16:26 fluxgen Exp $ //Use GNU extensions #ifndef _GNU_SOURCE@@ -118,7 +118,7 @@ #endif // HAVE_LIBGEN_H
#include <iostream> #include <string> -#include <strstream> +#include <sstream> #include <memory> using namespace std;@@ -1092,7 +1092,7 @@ net.decoration = static_cast<int>(ce.data.l[4]);
win->changeBlackboxHints(&net); } } else { - bool val = false; + bool val = false; #ifdef GNOME val = checkGnomeAtoms(ce); #endif //!GNOME@@ -1101,6 +1101,8 @@ #ifdef NEWWMSPEC
if (!val) val = checkNETWMAtoms(ce); #endif //!NEWWMSPEC + //disable `unused`-warning + val = true; } } //----------- handleKeyEvent ---------------