FreeBSD Bugzilla – Attachment 27120 Details for
Bug 46091
new port: deskutils/knowit: kde note taker/manager
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.52 KB, created by
Alan Eldridge
on 2002-12-08 08:00:20 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alan Eldridge
Created:
2002-12-08 08:00:20 UTC
Size:
1.52 KB
patch
obsolete
>--- knowit/notes.cpp.orig Sun Dec 8 01:24:02 2002 >+++ knowit/notes.cpp Sun Dec 8 01:50:11 2002 >@@ -80,12 +80,13 @@ >X bool TNotesCollection::changeNote(QListViewItem* item, const QString& s) >X { >X TNote* changed = find(item); >- if (!changed) qWarning("Internal error: change note\n"); >- else { >- bool change = changed->change(s); >- modified = modified or change; >- return change; >- } >+ if (!changed) { >+ qWarning("Internal error: change note\n"); >+ return false; >+ } >+ if (changed->change(s)) { >+ return modified = true; >+ } >X return false; >X } >X >SHAR_EOF > (set 20 02 12 08 02 18 14 'deskutils/knowit/files/patch-knowit-notes.cpp'; eval "$shar_touch") && > chmod 0644 'deskutils/knowit/files/patch-knowit-notes.cpp' || > $echo 'restore of' 'deskutils/knowit/files/patch-knowit-notes.cpp' 'failed' > if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ > && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then > md5sum -c << SHAR_EOF >/dev/null 2>&1 \ > || $echo 'deskutils/knowit/files/patch-knowit-notes.cpp:' 'MD5 check failed' >3f2e0ba9382b9f84bf4257fca03b5f8f deskutils/knowit/files/patch-knowit-notes.cpp >SHAR_EOF > else > shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'deskutils/knowit/files/patch-knowit-notes.cpp'`" > test 593 -eq "$shar_count" || > $echo 'deskutils/knowit/files/patch-knowit-notes.cpp:' 'original size' '593,' 'current size' "$shar_count!" > fi >fi >rm -fr _sh42447 >exit 0 >==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46091
: 27120