Skip to content

Commit 02ad1f7

Browse files
authored
Merge pull request #75 from luigino/minor
Minor fixes
2 parents f2188e6 + 194201b commit 02ad1f7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ AS_IF([test "x$enable_qt" = "xyes"], [
117117
118118
AC_CHECK_PROGS(MOC, [moc-qt5 moc])
119119
AC_CHECK_PROGS(UIC, [uic-qt5 uic])
120-
AC_CHECK_PROGS(RCC, [rcc])
120+
AC_CHECK_PROGS(RCC, [rcc-qt5 rcc])
121121
if test -z "$MOC" || test -z "$UIC" || test -z "$RCC"; then
122122
AC_MSG_ERROR([Qt utility programs moc, uic, and rcc are required.])
123123
fi

src/libprojectM/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ AM_CPPFLAGS = \
1414
lib_LTLIBRARIES = libprojectM.la # public, possibly-shared library
1515

1616
# link flags
17-
libprojectM_la_LDFLAGS = $(CG_LDFLAGS) -no-undefined -version-info 0:2:0
17+
libprojectM_la_LDFLAGS = $(CG_LDFLAGS) -no-undefined -version-info 2:0:0
1818

1919
# link libRenderer, MilkdropPresetFactory, NativePresetFactory, and libprojectM sources
2020
libprojectM_la_LIBADD = \

src/projectM-qt/nullable.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class Nullable {
3131
Nullable & operator=(const Value & value) {
3232
m_value = value;
3333
m_hasValue = true;
34+
static Nullable tmp = 0;
35+
return tmp;
3436
}
3537

3638
void nullify() {

0 commit comments

Comments
 (0)