C++ error
Posted: Mon Sep 29, 2014 9:41 am
In the file: srcprefsQualityPrefs.cpp at or near line numbers 167-179, examine this code:
there are two pair of "TieChoice" examples. The first one has an error; note that the function, which ends on the line which reads:
mConverterLabels),
is followed by a comma as opposed to the appropriate semi-colon. The proper usage can be seen in the next one which ends on the line which reads:
mDitherLabels);
Obviously, it compiles, but I am not sure what the current or future ramifications might be.
Code: Select all
S.TieChoice(_("Sample Rate Con&verter:"),
Resample::GetFastMethodKey(),
Resample::GetFastMethodDefault(),
mConverterNames,
mConverterLabels),
S.SetSizeHints(mConverterNames);
S.TieChoice(_("&Dither:"),
wxT("/Quality/DitherAlgorithm"),
Dither::none,
mDitherNames,
mDitherLabels);
S.SetSizeHints(mDitherNames);mConverterLabels),
is followed by a comma as opposed to the appropriate semi-colon. The proper usage can be seen in the next one which ends on the line which reads:
mDitherLabels);
Obviously, it compiles, but I am not sure what the current or future ramifications might be.