Fix compiler error on open().

Some small indent changes.
New CS header file.



git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@585 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6acdc609f9
Author: nightshad <nightshad@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2010-05-20 (Thu, 20 May 2010)



------------------
This commit was generated by Migit
This commit is contained in:
nightshad
2010-05-20 09:22:39 +00:00
parent 40beb5fd8f
commit 5288fd2604

View File

@@ -43,9 +43,9 @@
#include <gui/color.h>
#include <gui/pictureviewer.h>
#include <global.h>
//#include <cnxtfb.h>
#include <video_cs.h>
#include <init_cs.h>
#include <cs_api.h>
extern cVideo * videoDecoder;
extern CPictureViewer * g_PicViewer;
@@ -1251,7 +1251,7 @@ bool CFrameBuffer::savePictureFromMem(const std::string & filename, const fb_pix
header.height_hi = height >> 8;
header.transp = 0;
lfd = open((iconBasePath + filename).c_str(), O_WRONLY | O_CREAT);
lfd = open((iconBasePath + filename).c_str(), O_WRONLY | O_CREAT, 0644);
if (lfd==-1)
{