Browse Source

I still have "-Wzero-as-null-pointer-constant" enabled

master
despair 5 years ago
parent
commit
96447b803d
  1. 2
      src/browser.cpp

2
src/browser.cpp

@ -316,7 +316,7 @@ void Browser::transferTheme(std::string filename) { @@ -316,7 +316,7 @@ void Browser::transferTheme(std::string filename) {
void Browser::NextTheme() {
glob_t glob_result;
static unsigned int t = 0;
glob("*.ntrml", GLOB_TILDE, NULL, &glob_result);
glob("*.ntrml", GLOB_TILDE, nullptr, &glob_result);
t++;
if (t == glob_result.gl_pathc) t = 0;
/*

Loading…
Cancel
Save