Skip to content

Commit

Permalink
Cleanups and fixes for new strings
Browse files Browse the repository at this point in the history
  • Loading branch information
elan committed Oct 29, 2008
1 parent dce8af0 commit 50b727c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 0 additions & 2 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -887,14 +887,12 @@ static void CopyUserDataIfNeeded(const CStdString& libraryPath, const CStdString
dstPath.append(strPath);
dstPath.append(PATH_SEPARATOR_STRING);
dstPath.append(file);
printf("Looking for [%s]\n", dstPath.c_str());
if (access(dstPath.c_str(), 0) == -1)
{
CStdString srcPath = _P("q:\\");
srcPath.append(strPath);
srcPath.append(PATH_SEPARATOR_STRING);
srcPath.append(file);
printf("Copying from [%s]\n", srcPath.c_str());

if (GetFileAttributes(srcPath.c_str()) & FILE_ATTRIBUTE_DIRECTORY)
CopyDirectory(srcPath.c_str(), dstPath.c_str(), TRUE);
Expand Down
16 changes: 8 additions & 8 deletions xbmc/GUISettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,14 +509,14 @@ CGUISettings::CGUISettings(void)
AddInt(9, "videoplayer.upscalingalgorithm", 13116, VS_SCALINGMETHOD_BICUBIC_SOFTWARE, VS_SCALINGMETHOD_BICUBIC_SOFTWARE, 1, VS_SCALINGMETHOD_SINC_SOFTWARE, SPIN_CONTROL_TEXT);

AddSeparator(10, "videoplayer.sep1.8");
AddInt(9, "videoplayer.skiploopfilter", 13140, VS_SKIPLOOP_DEFAULT, VS_SKIPLOOP_DEFAULT, 1, VS_SKIPLOOP_ALL, SPIN_CONTROL_TEXT);

AddSeparator(10, "videoplayer.sep2");
AddString(11, "videoplayer.jumptocache", 439, "", BUTTON_CONTROL_STANDARD);
AddSeparator(12, "videoplayer.sep3");
AddInt(15, "videoplayer.dvdplayerregion", 21372, 0, 0, 1, 8, SPIN_CONTROL_INT_PLUS, -1, TEXT_OFF);
AddBool(16, "videoplayer.dvdautomenu", 21882, false);
AddBool(17, "videoplayer.editdecision", 22003, false);
AddInt(10, "videoplayer.skiploopfilter", 13134, VS_SKIPLOOP_DEFAULT, VS_SKIPLOOP_DEFAULT, 1, VS_SKIPLOOP_ALL, SPIN_CONTROL_TEXT);

AddSeparator(11, "videoplayer.sep2");
AddString(12, "videoplayer.jumptocache", 439, "", BUTTON_CONTROL_STANDARD);
AddSeparator(13, "videoplayer.sep3");
AddInt(14, "videoplayer.dvdplayerregion", 21372, 0, 0, 1, 8, SPIN_CONTROL_INT_PLUS, -1, TEXT_OFF);
AddBool(15, "videoplayer.dvdautomenu", 21882, false);
AddBool(16, "videoplayer.editdecision", 22003, false);

AddCategory(5, "subtitles", 287);
AddString(1, "subtitles.font", 288, "Arial", SPIN_CONTROL_TEXT);
Expand Down

0 comments on commit 50b727c

Please sign in to comment.