summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2006-04-18 19:11:56 +0000
committerAlbert Astals Cid <aacid@kde.org>2006-04-18 19:11:56 +0000
commit18f8e1f1d213dbcda27cd0ec429273801f65e208 (patch)
treeb3298e65888666656f341a75c99d515a9d2b6f8d
parentcbbb28a5959343d20dffe945ea83272c0b2e287b (diff)
* goo/GooVector.h: Fix typo that was preventing build with MSVC8
Discovered by Reece Dunn <msclrhd@hotmail.com>
-rw-r--r--ChangeLog5
-rw-r--r--goo/GooVector.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f937809..1ffbe2db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-18 Albert Astals Cid <aacid@kde.org>
+
+ * goo/GooVector.h: Fix typo that was preventing build with MSVC8
+ Discovered by Reece Dunn <msclrhd@hotmail.com>
+
2006-04-16 Carlos Garcia Campos <carlosgc@gnome.org>
* glib/poppler-action.cc:
diff --git a/goo/GooVector.h b/goo/GooVector.h
index 3cd551b9..67a3a1d7 100644
--- a/goo/GooVector.h
+++ b/goo/GooVector.h
@@ -22,10 +22,10 @@ private:
storage=tmp;
}
- T* copy(T* src1,T* scr2,T* dest){
+ T* copy(T* src1,T* src2,T* dest){
T* tmp=src1;
T* d=dest;
- while(tmp!=scr2){
+ while(tmp!=src2){
*d=*tmp;
d++;tmp++;
}