diff --git a/uppsrc/CtrlLib/ArrayCtrl.cpp b/uppsrc/CtrlLib/ArrayCtrl.cpp index 79025139d..0ce3d1a79 100644 --- a/uppsrc/CtrlLib/ArrayCtrl.cpp +++ b/uppsrc/CtrlLib/ArrayCtrl.cpp @@ -3018,7 +3018,7 @@ String ArrayCtrl::AsText(String (*format)(const Value&), bool sel, bool next = false; for(int r = 0; r < GetCount(); r++) if(!sel || IsSel(r)) { - if(next) + if(!next) txt << row; for(int i = 0; i < GetColumnCount(); i++) { if(i) diff --git a/uppsrc/GLCtrl/GLCtrl.upp b/uppsrc/GLCtrl/GLCtrl.upp index 32a72496a..e3aba5572 100644 --- a/uppsrc/GLCtrl/GLCtrl.upp +++ b/uppsrc/GLCtrl/GLCtrl.upp @@ -2,7 +2,7 @@ uses CtrlCore, plugin/glew; -library(WIN32 GCC) "glaux glu32 opengl32"; +library(WIN32 (GCC | CLANG)) "glaux glu32 opengl32"; pkg_config(LINUX | BSD) "gl glu";