Commit daf65e02 authored by Sylvain Berfini's avatar Sylvain Berfini

Fixes for message storage and linphonerc

parent 69494840
......@@ -5,6 +5,7 @@ using Microsoft.Phone.Net.NetworkInformation;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.IsolatedStorage;
using System.Threading;
using System.Threading.Tasks;
......@@ -82,8 +83,7 @@ namespace Linphone.Model
/// <returns>The path of the config file</returns>
public static String GetConfigPath()
{
StorageFolder localFolder = ApplicationData.Current.LocalFolder;
return localFolder.Path + "\\linphonerc";
return Path.Combine(ApplicationData.Current.LocalFolder.Path, "linphonerc");
}
/// <summary>
......@@ -92,8 +92,7 @@ namespace Linphone.Model
/// <returns>The path of the config file</returns>
public static String GetChatDatabasePath()
{
StorageFolder localFolder = ApplicationData.Current.LocalFolder;
return localFolder.Path + "\\chat.sqlite";
return Path.Combine(ApplicationData.Current.LocalFolder.Path, "chat.db");
}
/// <summary>
......
linphone @ d184192b
Subproject commit 45d93b828ddaedad57d8c8d1ee267a6c497ae9f1
Subproject commit d184192b9f6c4000f1cf780b446c97dac8697844
......@@ -13,4 +13,4 @@ sqlite3_open
sqlite3_prepare_v2
sqlite3_profile
sqlite3_snprintf
sqlite3_step
sqlite3_step
\ No newline at end of file
......@@ -90,7 +90,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Platform)'=='ARM'">
<ClCompile>
<PreprocessorDefinitions>FIXED_POINT;SQLITE_OS_WINRT;SQLITE_OMIT_WAL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>SQLITE_OS_WINRT;SQLITE_WIN32_FILEMAPPING_API;SQLITE_OMIT_LOAD_EXTENSION;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment