Browse Source

removed temp code that prevented clip from getting added to the db

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@491 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden 15 years ago
parent
commit
7b9ab1dad3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Clip.cpp

+ 1 - 1
Clip.cpp

@@ -605,7 +605,7 @@ bool CClip::AddToMainTable()
 		m_csQuickPaste.Replace(_T("'"), _T("''"));
 		m_csQuickPaste.Replace(_T("'"), _T("''"));
 
 
 		CString cs;
 		CString cs;
-		cs.Format(_T("INSERT into Main values(NULL, %d, '%s', %d, %d, %d, %d, %d, '%s', NULL);"),
+		cs.Format(_T("INSERT into Main values(NULL, %d, '%s', %d, %d, %d, %d, %d, '%s');"),
 							(long)m_Time.GetTime(),
 							(long)m_Time.GetTime(),
 							m_Desc,
 							m_Desc,
 							m_lShortCut,
 							m_lShortCut,