From 23ea17eab7d31c017bd2f326090f91faa29b5c31 Mon Sep 17 00:00:00 2001 From: Bruno Van de Velde Date: Tue, 1 Mar 2016 19:21:35 +0100 Subject: [PATCH] Assign value to m_stream in Font::operator= on android --- src/SFML/Graphics/Font.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SFML/Graphics/Font.cpp b/src/SFML/Graphics/Font.cpp index 65e4a81e7..f6ab15d46 100644 --- a/src/SFML/Graphics/Font.cpp +++ b/src/SFML/Graphics/Font.cpp @@ -456,6 +456,10 @@ Font& Font::operator =(const Font& right) std::swap(m_pages, temp.m_pages); std::swap(m_pixelBuffer, temp.m_pixelBuffer); + #ifdef SFML_SYSTEM_ANDROID + std::swap(m_stream, temp.m_stream); + #endif + return *this; }