Menu

Commit [r223]  Maximize  Restore  History

Modified code that loads databases in line with changes to TSnippetsIOFactory.

delphidabbler 2009-08-19

changed /trunk/Src/USnippets.pas
/trunk/Src/USnippets.pas Diff Switch to side-by-side view
--- a/trunk/Src/USnippets.pas
+++ b/trunk/Src/USnippets.pas
@@ -1313,10 +1313,10 @@
   try
     // Load main database: MUST do this first since user database can
     // reference objects in main database
-    with TSnippetsIOFactory.CreateLoader(dtMain) do
+    with TSnippetsIOFactory.CreateMainDBLoader do
       Load(fRoutines, fCategories, Factory);
     // Load any user database
-    with TSnippetsIOFactory.CreateLoader(dtUser) do
+    with TSnippetsIOFactory.CreateUserDBLoader do
       Load(fRoutines, fCategories, Factory);
     fUpdated := False;
   except
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.