Removed Windows-style line breaks (^M) from all .cc and .h source files.

This commit is contained in:
Wyatt Olson
2010-05-01 16:26:14 -06:00
parent e1a028e535
commit 1b563a4b82
284 changed files with 39262 additions and 39262 deletions

View File

@@ -131,5 +131,5 @@ void SHMap::forceStat (unsigned short max_, unsigned short min_, unsigned short
max = max_; max = max_;
min = min_; min = min_;
avg = avg_; avg = avg_;
} }}

View File

@@ -855,5 +855,5 @@ const TagAttrib canonAttribs[] = {
-1, 0, 0, 0, 0, "", NULL}; -1, 0, 0, 0, 0, "", NULL};
}; };
#endif

View File

@@ -259,5 +259,5 @@ const TagAttrib fujiAttribs[] = {
0, 1, 0, 0, 0x8003, "FrameNumber", &stdInterpreter, 0, 1, 0, 0, 0x8003, "FrameNumber", &stdInterpreter,
-1, 0, 0, 0, 0, "", NULL}; -1, 0, 0, 0, 0, "", NULL};
}; };
#endif

View File

@@ -669,5 +669,5 @@ const TagAttrib olympusAttribs[] = {
0, 1, 0, 0, 0x3000, "RawInfo", &stdInterpreter, 0, 1, 0, 0, 0x3000, "RawInfo", &stdInterpreter,
-1, 0, 0, 0, 0, "", NULL}; -1, 0, 0, 0, 0, "", NULL};
}; };
#endif

View File

@@ -581,5 +581,5 @@ const TagAttrib pentaxAttribs[] = {
0, 1, 0, 0, 0x0e00, "PrintIM", &stdInterpreter, 0, 1, 0, 0, 0x0e00, "PrintIM", &stdInterpreter,
-1, 0, 0, 0, 0, "", NULL}; -1, 0, 0, 0, 0, "", NULL};
}; };
#endif

View File

@@ -612,5 +612,5 @@ const TagAttrib sonyAttribs[] = {
-1, 0, 0, 0, 0, "", NULL}; -1, 0, 0, 0, 0, "", NULL};
}; };
#endif

View File

@@ -135,5 +135,5 @@ int CacheImageData::save (const Glib::ustring& fname) {
fprintf (f, "%s", keyFile.to_data().c_str()); fprintf (f, "%s", keyFile.to_data().c_str());
fclose (f); fclose (f);
return 0; return 0;
} }}

View File

@@ -214,7 +214,7 @@ void HistogramArea::renderHistogram () {
cr->line_to (i*stepSize, winh-1-val); cr->line_to (i*stepSize, winh-1-val);
} }
cr->save (); cr->save ();
cr->line_to (winw-1, winh-1); cr->line_to (winw-1, winh-1); cr->fill_preserve ();
cr->restore (); cr->restore ();
cr->set_source_rgb (0.5, 0.5, 0.5); cr->set_source_rgb (0.5, 0.5, 0.5);
cr->stroke (); cr->stroke ();
@@ -231,7 +231,7 @@ void HistogramArea::renderHistogram () {
} }
cr->stroke (); cr->stroke ();
} }
} if (needGreen) { cr->move_to (0, winh-1);
cr->set_source_rgb (0.0, 1.0, 0.0); cr->set_source_rgb (0.0, 1.0, 0.0);
for (int i=0; i<256; i++) { for (int i=0; i<256; i++) {
double val = ghist[i] * (double)(winh-2) / realhistheight; double val = ghist[i] * (double)(winh-2) / realhistheight;

View File

@@ -485,7 +485,7 @@ void ThumbBrowserBase::refreshThumbImages () {
for (int i=0; i<fd.size(); i++){ for (int i=0; i<fd.size(); i++){
previewHeight = options.thumbSize; previewHeight = options.thumbSize;
previewHeight = options.thumbSize; fd[i]->resize (previewHeight);// TODO!!! Might be performance bottleneck
fd[i]->refreshThumbnailImage (); fd[i]->refreshThumbnailImage ();
} }

View File

@@ -279,7 +279,7 @@ void WhiteBalance::setWB (int vtemp, double vgreen) {
if (listener) if (listener)
listener->panelChanged (EvWBTemp, Glib::ustring::compose("%1, %2", (int)temp->getValue(), Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(3), green->getValue()))); listener->panelChanged (EvWBTemp, Glib::ustring::compose("%1, %2", (int)temp->getValue(), Glib::ustring::format (std::setw(4), std::fixed, std::setprecision(3), green->getValue())));
} }
void WhiteBalance::setAdjusterBehavior (bool btempadd, bool bgreenadd) {
if (!tempAdd && btempadd) if (!tempAdd && btempadd)
temp->setLimits (-4000, +4000, 1, 0); temp->setLimits (-4000, +4000, 1, 0);